Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.10.1
-
None
-
None
Description
Admin cannot create versions on nodes locked by himself or other users. This is similar to OAK-2747.
VersioningTest.java
public void testCheckInCheckoutLocked() throws Exception { n1.addMixin(mixLockable); n1.getSession().save(); Session adminSession = getHelper().getSuperuserSession(); Node n = adminSession.getNode(n1.getPath()); n.lock(true, false); n.getSession().save(); adminSession.logout(); adminSession = getHelper().getSuperuserSession(); Node na = adminSession.getNode(n1.getPath()); na.checkin(); na.checkout(); }