Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.3, EE-3.3.0.GA
-
Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
-
Component/s: Framework
-
Labels:None
-
Environment:Liferay portal 6.1.1 on Tomcat 7.0.27 with Liferay faces bridge 3.1.2 and ICEfaces 3.3 EE tag branch HEAD
-
Assignee Priority:P1
Description
Having an ICEfaces ACE FileEntry portlet on its own works fine with coalescing. The included fileentry.js code can be readily found. But, if another ACE component sample portlet is added, for example Accordion, and the display is refreshed, then there is this exception:
Uncaught TypeError: Cannot call method 'captureFormOnsubmit' of undefined
This is because the ice.ace.fileentry.captureFormOnsubmit function is not found since the file it comes in is not included:
icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js
This might be related toICE-9263.
Uncaught TypeError: Cannot call method 'captureFormOnsubmit' of undefined
This is because the ice.ace.fileentry.captureFormOnsubmit function is not found since the file it comes in is not included:
icefaces/ace/component/resources/icefaces.ace/fileentry/fileEntry.js
This might be related to
Fixed most of the outstanding issues with portlets by modifying the CoalescingResourceHandler to use the proper session scope for portlets.
There is still an outstanding problem with the Context Menu example in that they fail when included on the same page with the File Entry example. The Context Menu examples work fine in any of the following scenarios:
So it's very specific to the combination of Context Menu + File Entry + coalescing together.