All Links are Disabled and Javascript Errors when Log In to WebCenter Spaces Homepage which has Mail Taskflow (Doc ID 1484534.1)

Last updated on JUNE 29, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

Login via Firefox, There is javascript error and users cannot navigate anywhere. No links can be clicked on.

Login via IE :  There is javascript error  and the page does not load. The loading icon is displayed indefinitely.

Javascript Errors from Firefox


Error: missing : after property id
Source File: http://myserver.oracle.com:8888/webcenter/faces/oracle/webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/user/U6A6B4B20C6F111E1BF5B6386DBBBF221/Page2.jspx?wc.contextURL=%2Fspaces&wc.originURL=%2Fspaces%2Fhome&_afrLoop=84582501698000
Line: 21, Column: 58
Source Code:
}},function(){RtcProvider.getInstance().updatePresence({""user3  '\"\"' "@.MISSING-HOST-NAME.":new PresenceObject("sip:"user3  '\"\"' "@.MISSING-HOST-NAME.","offline","Offline")});}];



Error: exScripts is undefined
Source File: http://myserver.oracle.com:8888/webcenter/faces/oracle/webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/user/U6A6B4B20C6F111E1BF5B6386DBBBF221/Page2.jspx?wc.contextURL=%2Fspaces&wc.originURL=%2Fspaces%2Fhome&_afrLoop=84582501698000
Line: 8

 

Javascript Errors from IE:

Message: Expected ':'
Line: 21
Char: 59
Code: 0
URI: http://myserver.oracle.com:8888/webcenter/faces/oracle/webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/user/U6A6B4B20C6F111E1BF5B6386DBBBF221/Page2.jspx?wc.contextURL=%2Fspaces&wc.originURL=%2Fspaces%2Fhome&_afrLoop=84759203178000

Message: 'length' is null or not an object
Line: 8
Char: 19348
Code: 0
URI: http://myserver.oracle.com:8888/webcenter/faces/oracle/webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/user/U6A6B4B20C6F111E1BF5B6386DBBBF221/Page2.jspx?wc.contextURL=%2Fspaces&wc.originURL=%2Fspaces%2Fhome&_afrLoop=84759203178000

 


Line 21, char 58/59 points to:

"}},function(){RtcProvider.getInstance().updatePresence({""user3  '\"\"' "@.MISSING-HOST-NAME.":n........"
                                                       ^^^^^                ^^^^^^^^^^

Line 8,  char 19348 refers to:

onclick="return false;"


From Line 21: it clearly shows the double quotes causing the problem. 


Look for RtcProvider.getInstance().updatePresence in the browser view souce code  then look carefully.
It may look like this:


"user1.user1@oracle.com"     :new PresenceObject("sip:user1.user1@oracle.com","offline","Offline"),
"user2.user2@oracle.com"   :new PresenceObject("sip:user2.user2@oracle.com","offline","Offline"),
"user3 "" user3@oracle.com" :new PresenceObject("sip:user3 "" user3@oracle.com","offline","Offline"),
"user4.user4@oracle.com"                  :new PresenceObject("sip:user4.user4@oracle.com","offline","Offline"),
"no.reply@ORACLE.COM"                :new PresenceObject("sip:no.reply@ORACLE.COM","offline","Offline")

Notice user3 has double quotes.  This seems to cause javascript error.

 

 

 

Changes

No changes, but to see the problem;

1. Setup Webcenter with MsExchange   (probably happens with other mail servers as well)
2. Send an email and ensure the sender has double quotes in the senders  email address e.g.     user3 '""'
3. Place the Email TaskFlow on the Page.
4. Ensure the Page where the Email task flow is placed is FIRST in the Space  (first tab)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms