Tapestry 5
  1. Tapestry 5
  2. TAP5-512

Documentation on how to secure pages contains errors in the sample code

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.0, 5.0.18
    • Fix Version/s: 5.1.0.1
    • Component/s: documentation
    • Labels:
      None

      Description

      The documentation is incorrect about the location of the SECURE_PAGE constant. In the second example on how to secure multiple pages it's supposed to be in TapestryConstants while it actually is in MetaDataConstants. Additionally the contributions aren't done with configuration.put() but with configuration.add().

      1. TAP5-512.txt
        0.8 kB
        Ulrich Stärk

        Activity

        Hide
        Ulrich Stärk added a comment -

        patch against trunk

        Show
        Ulrich Stärk added a comment - patch against trunk
        Hide
        Ulrich Stärk added a comment - - edited

        This also affects 5.0.18

        Show
        Ulrich Stärk added a comment - - edited This also affects 5.0.18
        Hide
        Howard M. Lewis Ship added a comment -

        It's a change to 5.1, look at the generated 5.1 site (the nightly) to see the fix.

        Show
        Howard M. Lewis Ship added a comment - It's a change to 5.1, look at the generated 5.1 site (the nightly) to see the fix.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Ulrich Stärk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development