Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P05
-
Fix Version/s: EE-1.8.2.GA_P08
-
Component/s: Facelet Components
-
Labels:None
-
Environment:ICEfaces EE 1.8.2.GA_P07 Build7
IE9/10
-
Assignee Priority:P1
Description
Process Components > File Upload Progress
JS error occurs when navigating to this demo and then navigating away from it. Only reproducible in IE9/10:
Message: Unable to set property 'InputFileIdPostUpload' of undefined or null reference
Line: 1
Char: 76
Code: 0
URI: http://ec2-54-212-81-211.us-west-2.compute.amazonaws.com:7001/icefaces-enterprise-comps-showcase/uploadHtml
JS error occurs when navigating to this demo and then navigating away from it. Only reproducible in IE9/10:
Message: Unable to set property 'InputFileIdPostUpload' of undefined or null reference
Line: 1
Char: 76
Code: 0
URI: http://ec2-54-212-81-211.us-west-2.compute.amazonaws.com:7001/icefaces-enterprise-comps-showcase/uploadHtml
The fix applied modifies the iframes included in the element that is about to be updated to force the browser into honouring the 'beforeunload' and 'unload' events. Modified InputFile iframe to use 'beforeunload' event so that the elements it works with are still available.