Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3641

UrlRenderer should not always add "." to url

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC3
    • 1.5-RC4
    • wicket
    • None

    Description

      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"

      Attachments

        1. WICKET-3641.patch
          2 kB
          Attila Király

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            akiraly Attila Király
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: