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

GeneralAclTest: test session should be refreshed to reflect latest changes

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Repoinit
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            angela Angela Schreiber

            Dates

              Created:
              Updated:

              Slack

                Issue deployment