About Me

Fremont, CA, United States

Friday, June 4, 2010

IE8 Oracle Portal 10.1.2.0.2 Issue with WYIWYG mode RTE Rich Text Editor

Issues with IE8, Portal 10.1.2.0.2 Rich Text Editor RTE (Unable to use <> switch html mode)



Webpage error details
Status Bar shows following error:

Message: Object expected
Line: 820
Char: 5
Code: 0
URI: http://hostname:7777/images/buildUIembed.html




After talking to Oracle support, they said IE8 is not supported with Portal 10.1.2.0.2 version so only option is to upgrade to 10.1.4.x version.


This issue can be fixed by simple replacing some lines in buildUIembed.html


$ORACLE_HOME/portal/images/buildUIembed.html

Make a copy of buildUIembed.html.


Replace these lines (Line# 819 and 1292 ) :
** Please note, you will find same block of code at two places ( around line # 819 and 1292 )

Replace this BLOCK of code

if (element.UserOnClickToolbar) {
eval(element.UserOnClickToolbar + "anonymous()");
}

WITH following

if (element.UserOnClickToolbar) {
// eval(element.UserOnClickToolbar + "anonymous()");
var str = element.UserOnClickToolbar.toString();
var pos = str.indexOf("anonymous");
if (pos >= 0)
{
eval(element.UserOnClickToolbar + "anonymous()");
}
else
{
eval(element.UserOnClickToolbar +"onclick()");
}
}

After change:
1. Bounce portal
2. cleanup modplsql cache ( $ORACLE_HOME/Apache/modplsql/cache), delete all files & dir from cache.

3. start portal

1 comment:

Andras Eliassen said...

Brilliant, this solved my issue.