Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.8
Description
If a node is modified and remove in different session then it leads to conflict failed exception. Following testcase passes on JR2 and fails on Oak
@Test public void removeNodeInDifferentSession() throws RepositoryException { Session s3 = getRepository().login(new SimpleCredentials("admin", "admin".toCharArray())); Session s2 = getRepository().login(new SimpleCredentials("admin","admin".toCharArray())); s2.getNode(TEST_PATH).setProperty("foo","bar"); s2.save(); s3.getNode(TEST_PATH).remove(); s3.save(); }
The testcase would pass if session refresh interval is set to zero
Attachments
Attachments
Issue Links
- is part of
-
OAK-14 Identify and document changes in behaviour wrt. Jackrabbit 2
- Closed