Document already locked exception on a  duplicated route
--------------------------------------------------------

                 Key: NXCM-309
                 URL: https://jira.nuxeo.com/browse/NXCM-309
             Project: Nuxeo Case Management
          Issue Type: Bug
    Affects Versions: 1.4
            Reporter: Mariana Cedica
             Fix For: 2.0


Create a route, then validate-it. After save it as a new instance.
Go to the new created route and try to lock it and the to modify its steps.
The following exception is thrown:
 Caused by: javax.faces.el.EvaluationException: 
org.nuxeo.ecm.core.api.ClientException: Document already locked by jdoe: 
9214538b-933b-49f7-8c90-bd46e1326df7
        at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
        at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
        ... 67 more
Caused by: org.nuxeo.ecm.core.api.ClientException: Document already locked by 
jdoe: 9214538b-933b-49f7-8c90-bd46e1326df7
        at 
org.nuxeo.ecm.core.api.AbstractSession.setLock(AbstractSession.java:2862)
        at sun.reflect.GeneratedMethodAccessor1546.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:99)
        at $Proxy25.setLock(Unknown Source)
        at 
org.nuxeo.ecm.platform.routing.core.impl.LockableDocumentRouteImpl.lockDocument(LockableDocumentRouteImpl.java:58)
        at 
org.nuxeo.ecm.platform.routing.core.impl.DocumentRoutingServiceImpl.lockDocumentRoute(DocumentRoutingServiceImpl.java:384)
        at 
org.nuxeo.ecm.platform.routing.web.DocumentRoutingActionsBean.lockRoute(DocumentRoutingActionsBean.java:452)
        at 
org.nuxeo.ecm.platform.routing.web.DocumentRoutingActionsBean.lockCurrentRoute(DocumentRoutingActionsBean.java:446)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to