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

        Howard M. Lewis Ship made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Ulrich Stärk made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Ulrich Stärk made changes -
        Affects Version/s 5.0.18 [ 12313543 ]
        Howard M. Lewis Ship made changes -
        Fix Version/s 5.1.0.1 [ 12313660 ]
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        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 -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Ulrich Stärk made changes -
        Attachment TAP5-512.txt [ 12400003 ]
        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().
        Ulrich Stärk created issue -

          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