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

        Ulrich Stärk created issue -
        Ulrich Stärk made changes -
        Field Original Value New Value
        Description The documentation is incorrect about the location of the SECURE_PAGE constant. In the second example 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(). 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().
        Hide
        Ulrich Stärk added a comment -

        patch against trunk

        Show
        Ulrich Stärk added a comment - patch against trunk
        Ulrich Stärk made changes -
        Attachment TAP5-512.txt [ 12400003 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Summary the documentation on how to secure pages contains errors in the sample code Documentation on how to secure pages contains errors in the sample code
        Howard M. Lewis Ship made changes -
        Fix Version/s 5.1.0.1 [ 12313660 ]
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Ulrich Stärk made changes -
        Affects Version/s 5.0.18 [ 12313543 ]
        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
        Ulrich Stärk made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        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.
        Howard M. Lewis Ship made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        15d 7h 16m 1 Howard M. Lewis Ship 26/Feb/09 17:32
        In Progress In Progress Closed Closed
        1m 42s 1 Howard M. Lewis Ship 26/Feb/09 17:34
        Closed Closed Reopened Reopened
        31d 18h 10m 1 Ulrich Stärk 30/Mar/09 11:44
        Reopened Reopened Closed Closed
        3d 11h 12m 1 Howard M. Lewis Ship 02/Apr/09 22:57

          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