AnsweredAssumed Answered

LockService problem

Question asked by saruqui on May 16, 2013
Latest reply on May 17, 2013 by mrogers
I have a code like this:
,
public void setProperties(NodeRef node, Map<QName, Serializable> props){
   lockService.unlock(node);
   nodeService.setProperties(node,props);
   lockService.lock(node);
}
,
lockservice.lock(node) throws an exception because the node is locked and I can't figure out what the problem is.

In a second try, I embedded into this code in a transaction and I get the same result.

Can anybody help me? Any idea?

Regards,

Saru

Outcomes