AnsweredAssumed Answered

Locked Document in 5.0.d

Question asked by mrks.js1 on Oct 29, 2016
Latest reply on Nov 1, 2016 by jego

Hi

 

I have 1 document in my test system that has a hardcore persistent lock. keeps me from trying to reproduce some issues. restart does _not_ clear the lock.

the document is not visible in the share doclib view. but it can be found in the node browser.

the document has these lock related properties:

cm:lockType = READ_ONLY_LOCK

cm:lockLifetime = PERSISTENT

cm:lockAdditionalInfo = null

cm:lockOwner = admin

 

And following lock-related aspects.

cm:lockable
cm:checkedOut

 

i can only access the preview of the document by assembling the url:

... document-details?nodeRef=workspace://SpacesStore/9d647cd6-fdb6-…

=> none of the document actions are present, the right menu is missing completely.

message on top says The item cannot be found. Either you do not have permissions to view the item, it has been removed or it never existed.

 

I also tried via js console to

node.removeAspect("cm:checkedOut");

= Cannot perform operation since the node (id:9d647cd6-fdb6-4033-83e7-08f05b1d3565) is locked.

node.cancelCheckout();

= Access Denied. You do not have the appropriate permissions to perform this operation.

node.unlock();

= The node (id: 9d647cd6-fdb6-4033-83e7-08f05b1d3565) could not be unlocked since it is checked out.

 

ran these as admin.

 

no locks on alfresco related tables in the database.

 

 

halp!

 

version is 5.0.d community

Outcomes