Tapestry 5
  1. Tapestry 5
  2. TAP5-821

Compnent event URLs for page in a library whose name contains the dash character will not be recognized by ComponentEventLinkEncoder

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: 5.3
    • Component/s: None
    • Labels:
      None

      Description

      ComponentEventLinkEncoderImpl#decodeComponentEventRequest() cannot decode component events properly if the url conains a "-" character.

      i came across this bug when i created a test application and contributed my test pages to the ComponentClassResolver using "ui-test" as pathPrefix

      public void contributeComponentClassResolver(Configuration<LibraryMapping> configuration)

      { configuration.add(new LibraryMapping("ui-test", "my.package.path")); }

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #605 (See https://builds.apache.org/job/tapestry-trunk-freestyle/605/)
        TAP5-821: Compnent event URLs for page in a library whose name contains the dash character will not be recognized by ComponentEventLinkEncoder

        hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188311
        Files :

        • /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentEventLinkEncoderImpl.java
        • /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ComponentEventLinkEncoderImplTest.java
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #605 (See https://builds.apache.org/job/tapestry-trunk-freestyle/605/ ) TAP5-821 : Compnent event URLs for page in a library whose name contains the dash character will not be recognized by ComponentEventLinkEncoder hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188311 Files : /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentEventLinkEncoderImpl.java /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ComponentEventLinkEncoderImplTest.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development