You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Attila Király (JIRA)" <ji...@apache.org> on 2011/04/25 22:41:03 UTC

[jira] [Created] (WICKET-3641) UrlRenderer should not always add "." to url

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


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

[jira] [Resolved] (WICKET-3641) UrlRenderer should not always add "." to url

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-3641.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC4
         Assignee: Martin Grigorov

Fixed with r1096668.

> 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
>            Assignee: Martin Grigorov
>             Fix For: 1.5-RC4
>
>         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

[jira] [Updated] (WICKET-3641) UrlRenderer should not always add "." to url

Posted by "Attila Király (JIRA)" <ji...@apache.org>.
     [ 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