Page 3 of 3

Re: es.git.openkm.core.LockException: Node locked.

PostPosted:Wed Apr 27, 2011 4:25 pm
by roycal93
Thanks for your help!
It is performed by web services.
Here is the workflow for my application:

Login to openkm with my user and password.
Perform a checkout on a document.
Close the browser.
Open it again.
Login again to openkm.
When I try to cancel the checkout or make a checkin it gives me the error: "Node Locked", I guess it is because I'm trying to do it using a different token than the one is stored at OpenKM, because if I do it two hours later, it works fine.

That's why I really need to use that "getTokenByUserId" method, but I have no idea of how to import the library, I am developing the application on c#.

Thanks in advance for your help.
RC.

Re: es.git.openkm.core.LockException: Node locked.

PostPosted:Thu Apr 28, 2011 5:53 am
by jllort
And it's happening always ? checkout, close browser ( with or without logout ? ) and then login and trying unlock fails ?

Re: es.git.openkm.core.LockException: Node locked.

PostPosted:Thu Apr 28, 2011 6:08 pm
by pavila
Sure you are using OpenKM 5.0.4 ? This bug was already fixed.

Another thing: you say to perform the action using web services, but you are telling me an use case from the web interface. I'm confusing :?