Tapestry 5
  1. Tapestry 5
  2. TAP5-755

URL rewriting documentation contains an example that won't compile due to lack of a return value

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: 5.2.0, 5.1.0.6, 5.1.0.7
    • Component/s: documentation
    • Labels:
      None

      Description

      In the documentation for url rewriting, the final example shows a rule which processes incoming and outgoing requests to re-map the name of pages as visible to the user.
      However, there is a chain of logic through the code in which there is no return value (context.isIncoming == false and context.getPageParameters() == null). The proper return value of the original request should be returned.

      1. TAP5-755-5.1.txt
        0.6 kB
        Ulrich Stärk

        Activity

        Hide
        Ulrich Stärk added a comment -

        patch against 5.1 branch

        Show
        Ulrich Stärk added a comment - patch against 5.1 branch

          People

          • Assignee:
            Robert Zeigler
            Reporter:
            Robert Zeigler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development