Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-937

LinkImpl does not handle parameters properly when passed into the constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1
    • 5.2.0
    • tapestry-core
    • None

    Description

      I noticed this after using the AjaxFormLoop AddRowLink on a page which has an onActivate and onPassivate resulting in the addition of a "t:ac" to the url. Debugging showed me that the t:ac is already present on instantiation of the LinkImpl. When calling toAbsoluteUri the parameters are added in a way where they will always start with a "?". Obvisouly resulting in an invalid URL with two ?'s

      I'm building a failing test at this stage and will provide a patch once resolved.

      Attachments

        1. parameter_addition_patch.txt
          2 kB
          Joost Schouten

        Activity

          People

            igor.drobiazko Igor Drobiazko
            joostschouten Joost Schouten
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: