You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Guillaume Smet (JIRA)" <ji...@apache.org> on 2013/06/10 11:43:21 UTC

[jira] [Created] (WICKET-5222) Direct iframe removal not supported by Firefox: tab title stays as "Connecting"

Guillaume Smet created WICKET-5222:
--------------------------------------

             Summary: Direct iframe removal not supported by Firefox: tab title stays as "Connecting"
                 Key: WICKET-5222
                 URL: https://issues.apache.org/jira/browse/WICKET-5222
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.8.0
         Environment: Wicket 6.8.0, Firefox 21
            Reporter: Guillaume Smet


Hi,

When using the post via iframe feature of Wicket (for multipart Ajax request) with Firefox, the tab title is changed to "Connecting..." and it doesn't get back to the original page title at all, even after the Ajax call returned.

The iframe is removed in the onload of the iframe ( see
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js#L868
) and it seems to be problematic for Firefox.

Looks like there is some literature about it here:
http://stackoverflow.com/questions/7285866/never-ending-connecting-message-after-ajax-form-submit


Quickstart coming with a way to reproduce the problem:
- Launch the application using Start.java;
- Go to http://localhost:8080/ with Firefox;
- Upload a file via the Ajax submit button;
- The tab title stays as "Connecting...".

Now uncomment the resource replacement line in the WicketApplication file, restart the app and it should work correctly.

Patch coming too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira