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

Using URLRewriteRules will fail for component event links if the page has an activation context

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Because the URLRewriting is based on Link.getAbsoluteURI(), you will see a Request.getPath() that includes (as part of the "path") the t:ac query parameter. Then t:ac is added again as part of the new link instance.

      We can patch together a solution for URLRewriter by extending the Link interface with a new method to get the base URI (without query parameters, even for link).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hlship Howard M. Lewis Ship
                Reporter:
                hlship Howard M. Lewis Ship
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: