[ 
http://jira.nuxeo.org/browse/NXP-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31967#action_31967
 ] 

Radu Darlea commented on NXP-1688:
----------------------------------

Finally reproduced. The reported issue is generated by a poor management of the 
document creation. For every imported document, the code tries to obtain a 
reference to possible existent record and to update it. If can't obtain (that 
mean the reference is null or obtaining it throws ClientException), it creates 
a new document. But I see looking for the document it throws actually the 
exception wrapped, so it is not caught.
Radu

> Import causes exceptions
> ------------------------
>
>                 Key: NXP-1688
>                 URL: http://jira.nuxeo.org/browse/NXP-1688
>             Project: Nuxeo Enterprise Platform 5
>          Issue Type: Bug
>    Affects Versions: 5.1.1, 5.1.2
>            Reporter: John Goerzen
>            Assignee: Radu Darlea
>          Time Spent: 6 hours
>  Remaining Estimate: 0 minutes
>
> When using the import option from the nuxeo client collection, for for first 
> item it tries to import, an exception is thrown saying it doesn't exist.  I 
> can create that item -- it happens to be a folder -- and that first exception 
> is then skipped, but a new exception will be thrown when it makes it to the 
> second item it attempts to import.
> The exception is:
> Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
> org.nuxeo.ecm.core.model.NoSuchDocumentException. message: No such document: 
> /default-domain/workspaces/departments/information-services/unrestricted
> where information-services was the top-level for the import, and unrestricted 
> was the first item in the import directory to import.
> I verified that this path is correct via the interactive nuxeo client option.
> More details here:
> http://thread.gmane.org/gmane.comp.cms.nuxeo.general/3025
> I did try grabbing the absolute latest client, and it didn't help.
> Tested against both 5.1.1.GA and 5.1.2.GA.

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

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to