Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8617

GeneralAclTest: test session should be refreshed to reflect latest changes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Repoinit
    • Labels:
      None

      Description

      the tests in GeneralAclTest obtain a session for the test-user in the setup. the tests then make changes with an administrative session and subsequently verify the result with the test session.

      however, the tests never refresh the test-user session. that should is best practice and usually required in an Oak repository. see
      http://jackrabbit.apache.org/oak/docs/differences.html#Session_state_and_refresh_behaviour
      for details.

      reporting this as bug because it might be wrong in the test case due to a misconception, which might cause bigger issues in the rest of the code base.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                angela Angela Schreiber
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: