Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0, 2.0.1, EE-2.0.0.GA, 2.0.2
-
Fix Version/s: 2.1-Beta, 3.0, EE-2.0.0.GA_P01
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Mojarra 2.1.2
-
Assignee Priority:P2
-
Workaround Exists:Yes
-
Workaround Description:
Description
As soon as icefaces-compat.jar is on the classpath the default error popups are disabled. If an exception happens you there's no effect in the browser so one has to check the console output to see that actually something went wrong. Setting org.icefaces.disableDefaultErrorPopups=false in web.xml doesn't have an effect anymore.
icefaces-compat.jar should not modify the default and shouldn't disable org.icefaces.disableDefaultErrorPopups
icefaces-compat.jar should not modify the default and shouldn't disable org.icefaces.disableDefaultErrorPopups
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Field | Original Value | New Value |
---|---|---|
Attachment | supportErrorPopup.zip [ 13348 ] |
Salesforce Case | [5007000000GxgkL] |
Attachment | sc10294.war [ 13351 ] |
Fix Version/s | EE-2.0.0.GA_P01 [ 10271 ] | |
Fix Version/s | 2.1 [ 10241 ] | |
Assignee Priority | P2 | |
Assignee | Mircea Toma [ mircea.toma ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | 2.1-Beta [ 10291 ] | |
Fix Version/s | 2.1 [ 10241 ] |
Workaround Description |
If you are unable to use 2.1+, the following patch looks to resolve the issue in 2.0 EE: /** * Sets disableDefaultErrorPopups value to the one that was defined in web.xml after each page load. * The icefaces compat lib is disabling this (see http://jira.icefaces.org/browse/ICE-7036). We need this * in order to see the session expired popup. * * @param {Object} aChildElementIdOfBody an elementid that is a direct child of the body element */ applyIceFacesErrorPopupBugWorkaround : function(aChildElementIdOfBody) { Event.observe(window, 'load', function() { var container = document.getElementById(aChildElementIdOfBody).parentNode; container.configuration.disableDefaultErrorPopups = window.ice.disableDefaultErrorPopups; }); }, |
|
Workaround Exists | [Yes] |
Fix Version/s | 3.0 [ 10241 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |