AnsweredAssumed Answered

Node already checked out

Question asked by scastelein on Jul 29, 2011
I am having some issues with updating existing content of documents in Alfresco using the webservice. In some occassions (could not detect a pattern) the following error occurs:


[/app:company_home/st:sites/cm:Elephant/cm:documentLibrary/cm:Drafts/cm:Agreements/cm:SPA]:06180005 This node is already checked out.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString:
faultActor:
faultNode:
faultDetail:
   {http://www.alfresco.org/ws/service/authoring/1.0}AuthoringFault:<ns1:errorCode>0</ns1:errorCode><ns1:message>06180005 This node is already checked out.</ns1:message>
   {http://xml.apache.org/axis/}exceptionName:org.alfresco.repo.webservice.authoring.AuthoringFault
   {http://xml.apache.org/axis/}stackTrace:
   at org.alfresco.repo.webservice.authoring.AuthoringWebService.checkout(AuthoringWebService.java:214)

The code is almost a 1:1 copy of http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/sdk/samples/WebServiceSamples/source/org/alfresco/sample/webservice/CheckOutCheckIn.java.

Furthermore there seems to be something odd with the LockStatus of the item that will be checked out: the name and type of an existing LockStatus are NULL.

Somebody got an idea?

Outcomes