You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by "whowrotethiscode (via GitHub)" <gi...@apache.org> on 2026/06/12 09:45:48 UTC

[I] AJAX response processing hangs when header contains link with non-standard rel attribute [wicket]

whowrotethiscode opened a new issue, #1487:
URL: https://github.com/apache/wicket/issues/1487

   Hello,
   
   When a `Panel` contains the following code and is rendered via AJAX
   then the AJAX response processing in the client browser will hang indefinitely:
   
   ```java
       @Override
       public void renderHead(IHeaderResponse response) {
           super.renderHead(response);
   
           response.render(StringHeaderItem.forString(
                   "<link rel=\"stylesheet/less\" type=\"text/css\" href=\"demo.less\" media=\"all\"/>"));
       }
   ```
   
   It seems the non-standard `rel="stylesheet/less"`
   causes `wicket-ajax-jquery.js` to wait for an `onload` event which never happens.
   
   The above code worked OK in Wicket version `8`
   but it now hangs after upgrading to Wicket version `10`.
   
   Please see this minimal reproducible example: [ajax-hang-demo.zip](https://github.com/user-attachments/files/28873396/ajax-hang-demo.zip)
   
   Thanks to the Wicket team.
   
   #### Environment
    - Hangs in Wicket version `10.9.0`
    - Worked OK in Wicket `8.18.0`
    - Reproducible in all modern browsers
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@wicket.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AJAX response processing hangs when header contains link with non-standard rel attribute [wicket]

Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on issue #1487:
URL: https://github.com/apache/wicket/issues/1487#issuecomment-4719186645

   You can use "Fixes #1487" now :-)
   
   I quite like the Github release/changelogs, e.g. https://github.com/apache/avro-rs/releases


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AJAX response processing hangs when header contains link with non-standard rel attribute [wicket]

Posted by "reiern70 (via GitHub)" <gi...@apache.org>.
reiern70 commented on issue #1487:
URL: https://github.com/apache/wicket/issues/1487#issuecomment-4719112287

   > Actually I think it would better to disable JIRA and use Github Issues from now on. It has been voted (twice, I think) to start using GH Issues. [@mattrpav](https://github.com/mattrpav) enabled issues and discussions few weeks ago.
   
   The only think I like from JIRA is the WICKET-XXXX that we put in commit message. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AJAX response processing hangs when header contains link with non-standard rel attribute [wicket]

Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on issue #1487:
URL: https://github.com/apache/wicket/issues/1487#issuecomment-4716423216

   Actually I think it would better to disable JIRA and use Github Issues from now on.
   It has been voted (twice, I think) to start using GH Issues. @mattrpav enabled issues and discussions few weeks ago.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AJAX response processing hangs when header contains link with non-standard rel attribute [wicket]

Posted by "mattrpav (via GitHub)" <gi...@apache.org>.
mattrpav commented on issue #1487:
URL: https://github.com/apache/wicket/issues/1487#issuecomment-4719174913

   @reiern70 I agree we should have a commit reference back to issue. iirc Apache INFRA can migrate open JIRA issues to GitHub (Wicket does not have many open).
   
   Going forward, if we use the GH format it will auto-link to the issue when browsed through GH online.
   
   Example:
   [#1487] AJAX response processing hangs.. (this issue)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] AJAX response processing hangs when header contains link with non-standard rel attribute [wicket]

Posted by "reiern70 (via GitHub)" <gi...@apache.org>.
reiern70 commented on issue #1487:
URL: https://github.com/apache/wicket/issues/1487#issuecomment-4690974474

   Could you please create a Jira ISSUE for this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org