Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P03
-
Fix Version/s: EE-1.8.2.GA_P04
-
Component/s: Framework
-
Labels:None
-
Environment:IE8 version 8.0.76xx, blockUIOnSubmit=true, ICEfaces EE 1.8.2 P03, trunk
Description
An "Access is Denied" JavaScript error is shown when closing a modal window dialog in IE8. This dialog is opened by calling the following JavaScript: "window.showModalDialog(....);"
The call that closes the dialog is the following: "window.close();"
This is only an issue when the blockUIOnSubmit=true and only in the more recent versions of IE8.
8.0.7600.16385 - Shows the error
8.0.6001.18702 - Doesn't show the error
My guess is that the UI blocker code is interfering with the modal window dialog or vice versa.
The call that closes the dialog is the following: "window.close();"
This is only an issue when the blockUIOnSubmit=true and only in the more recent versions of IE8.
8.0.7600.16385 - Shows the error
8.0.6001.18702 - Doesn't show the error
My guess is that the UI blocker code is interfering with the modal window dialog or vice versa.
-
Hide
- Case11058Example.war
- 6.37 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/.../example/TestBean.class 0.8 kB
- WEB-INF/faces-config.xml 0.7 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-discovery.jar 75 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-lang.jar 240 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-comps.jar 1.76 MB
- WEB-INF/lib/icefaces-facelets.jar 596 kB
- WEB-INF/lib/icefaces.jar 1.23 MB
- WEB-INF/lib/jsf-api-1.2.jar 355 kB
- WEB-INF/lib/jsf-impl-1.2.jar 837 kB
- WEB-INF/web.xml 4 kB
- popup.xhtml 2 kB
- testIncludePP.xhtml 0.7 kB
- welcomeICEfaces.xhtml 0.8 kB
-
- Case11058Example.zip
- 20 kB
- Arran Mccullough
-
- IE8-JavaScript-Error.jpg
- 36 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Note that this issue only occurs on the more recent IE8 8.0.7.x, which appears to only be available on Windows 7.
Link to the MS Virtual PC IE App Compatibility Images: http://www.microsoft.com/download/en/details.aspx?id=11575
Show
Arran Mccullough
added a comment - Link to the MS Virtual PC IE App Compatibility Images: http://www.microsoft.com/download/en/details.aspx?id=11575
It seems that IE sees the dynamically created iframe (our status indicator overlay) as being part of a different domain . Modifying the iframe's URL would create regressions for issues we already fixed by generating the frame's content using a pseudo-URL.
The solution applied was to capture and ignore the exception thrown by the popup window when closed. Since the error has no functional impact (the popup window is closed anyway) this can be considered a reasonable fix.
Show
Mircea Toma
added a comment - It seems that IE sees the dynamically created iframe (our status indicator overlay) as being part of a different domain . Modifying the iframe's URL would create regressions for issues we already fixed by generating the frame's content using a pseudo-URL.
The solution applied was to capture and ignore the exception thrown by the popup window when closed. Since the error has no functional impact (the popup window is closed anyway) this can be considered a reasonable fix.
Attaching test case and screen shot that shows JS error.
Steps to reproduce: