angela created SLING-8617:
-----------------------------

             Summary: GeneralAclTest: test session should be refreshed to 
reflect latest changes
                 Key: SLING-8617
                 URL: https://issues.apache.org/jira/browse/SLING-8617
             Project: Sling
          Issue Type: Bug
          Components: Repoinit
            Reporter: angela


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.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to