Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.10, 1.4.15, 1.4.17, 1.5-RC3
-
None
Description
ModalWindow does not work properly in Opera 11.10 (and 11.01). Instead of window content, browser's error page is displayed ("Internal communication error: Check that the address is spelled correctly, or try searching for the site." There is "http:///" in the search bar of the error page.) In the error console there is the following message:
---------------
[4/14/2011 10:25:44] JavaScript - http://wicketstuff.org/wicket14/ajax/modal-window.0;jsessionid=C7287377789A7518B81C198CA3D1CE0D
Event thread: load
Uncaught exception: ReferenceError: Security error: attempted to write protected variable
Error thrown at line 414, column 0 in <anonymous function: onload>() in http://wicketstuff.org/wicket14/ajax/resources/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal.js:
this.content.contentWindow.name = this.settings.iframeName;
called via Function.prototype.apply() from unknown location in <anonymous function: Function.prototype.bind>() in http://wicketstuff.org/wicket14/ajax/resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js:
/* no source available */
---------------
Example in which the error occurs (after clicking the link to open the modal window):
http://wicketstuff.org/wicket14/ajax/modal-window
I tried also other versions of Wicket (1.5-RC3, 1.4.15, and 1.4.10) - with the same result.
Similar situation is with MSIE 6 under some circumstances. If it uses a local proxy server, you get to MSIE's error page "The page cannot be displayed" with "http:///" in the address bar. If proxy server is disabled (by unchecking "Automatically detect settings" in Options/LAN settings; or when connecting the notebook in another network with no proxy server), the content of the modal window displays as expected.