Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P02
-
Fix Version/s: EE-3.3.0.GA_P04
-
Component/s: ACE-Components
-
Labels:None
-
Environment:IE8
-
Assignee Priority:P3
-
Support Case References:Support Case #13313 - https://icesoft.my.salesforce.com/50070000011vjBI
-
Workaround Exists:Yes
-
Workaround Description:
Description
An h:commandLink uses two ace:animation tags to chain two animations. This commandLink is used to close an ace:dialog. When the link is clicked in IE8, a JavaScript error is thrown:
Unable to get value of the property '0': object is null or undefined
This is from the bundled JQuery JavaScript.
Sample code:
<h:commandLink id="closeEffect"
value="close with effect">
<f:ajax execute="@this"
render="popDetails"
event="click"
listener="#{TestBean.setDialogVisible(false)}"/>
<ace:animation event="click"
name="fade"/>
<ace:animation event="click"
name="highlight"/>
</h:commandLink>
Unable to get value of the property '0': object is null or undefined
This is from the bundled JQuery JavaScript.
Sample code:
<h:commandLink id="closeEffect"
value="close with effect">
<f:ajax execute="@this"
render="popDetails"
event="click"
listener="#{TestBean.setDialogVisible(false)}"/>
<ace:animation event="click"
name="fade"/>
<ace:animation event="click"
name="highlight"/>
</h:commandLink>
Issue Links
- depends on
-
ICE-11078 Update jQuery library to 1.12.3 release
-
- Closed
-
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Attached test case that shows this issue.
Steps:
- Load welcomeICEfaces.jsf in IE8 or newer IE browser with IE8 emulation on.
- Click the 'open dialog' link. A dialog is now shown.
- Click the 'close with effect' link, a JS error will be thrown.
- Clearing the message will close the dialog but the next time it is opened only the modal layer is shown.
Show
Arran Mccullough
added a comment - Attached test case that shows this issue.
Steps:
Load welcomeICEfaces.jsf in IE8 or newer IE browser with IE8 emulation on.
Click the 'open dialog' link. A dialog is now shown.
Click the 'close with effect' link, a JS error will be thrown.
Clearing the message will close the dialog but the next time it is opened only the modal layer is shown.
Verified ICEfaces EE-3.3.0 maintenance branch r49017. Tomcat 8, FF 43, Chrome 51, IE edge, 11, 10, 9, 8, 7.