Tapestry 5
  1. Tapestry 5
  2. TAP5-1034

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


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


      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).

        Issue Links


          Howard M. Lewis Ship created issue -
          Howard M. Lewis Ship made changes -
          Field Original Value New Value
          Assignee Howard M. Lewis Ship [ hlship ]
          Howard M. Lewis Ship made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Howard M. Lewis Ship made changes -
          Status In Progress [ 3 ] Closed [ 6 ]
          Fix Version/s 5.2.0 [ 12314122 ]
          Resolution Fixed [ 1 ]
          Christian Riedel made changes -
          Link This issue is duplicated by TAP5-1194 [ TAP5-1194 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          5s 1 Howard M. Lewis Ship 26/Feb/10 23:06
          In Progress In Progress Closed Closed
          1h 9m 1 Howard M. Lewis Ship 27/Feb/10 00:16


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


              • Created: