[
https://issues.apache.org/jira/browse/WICKET-3641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Király updated WICKET-3641:
----------------------------------
Attachment: WICKET-3641.patch
Attaching patch made for trunk.
Some tests with expected rendered result html need to be updated to pass.
> UrlRenderer should not always add "." to url
> --------------------------------------------
>
> Key: WICKET-3641
> URL: https://issues.apache.org/jira/browse/WICKET-3641
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC3
> Reporter: Attila Király
> Attachments: WICKET-3641.patch
>
>
> The fix in WICKET-3337 introduced a bug: now an url to a resource can be
> rendered differently if the base url changes.
> In practice this means that some js files can end up twice in a page DOM.
> First with the page load:
> "wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ts1303754909421.js"
> and
> "wicket/resource/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax-ts1303754909421.js"
> Secondly after an ajax event two "new" js gets loaded:
> "./wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ts1303754909421.js"
> and
> "./wicket/resource/org.apache.wicket.ajax.WicketAjaxReference/wicket-ajax-ts1303754909421.js"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira