Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.8RC1
-
Component/s: Bridge
-
Labels:None
-
Environment:portals portlets Liferay
-
ICEsoft Forum Reference:
Description
Firebug reports the following error when an ICEfaces portlet is loaded into a portal page under Liferay 5.2.1:
Class is not a constructor
http://localhost:8080/chat-portlet/javascript.js?browserId=firefox&minifierType=js&t=1234462600000
Line 1
The forum poster notes more information:
"Some liferay portlets load javascript code delayed, which containts the following code "new Class({...})". This actually fails with "Class is not a constructor" error, if the icefaces javascript code is loaded before hand."
The error only occurs when you are actually signed in as an registered user. Using the portlet as a "guest", it doesn't occur. The likely reason for the different behaviour is that when you are signed in, additional JavaScript is used to allow the registered user more features (add portlets to the page, drag them around). It appears that we may have a conflict occurring with this additional code.
Class is not a constructor
http://localhost:8080/chat-portlet/javascript.js?browserId=firefox&minifierType=js&t=1234462600000
Line 1
The forum poster notes more information:
"Some liferay portlets load javascript code delayed, which containts the following code "new Class({...})". This actually fails with "Class is not a constructor" error, if the icefaces javascript code is loaded before hand."
The error only occurs when you are actually signed in as an registered user. Using the portlet as a "guest", it doesn't occur. The likely reason for the different behaviour is that when you are signed in, additional JavaScript is used to allow the registered user more features (add portlets to the page, drag them around). It appears that we may have a conflict occurring with this additional code.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion