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

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

The nuxeo-client code is outdated. I managed to make it work in the with some 
manual changes only in the configuration nuxeo-client trunk version and the 
server being version 5.1.3 of the platform. Apparently 5.2 version of the 
platform has some not related issues which prevented me working on it. The 
project nuxeo-client has to be updated for working with 5.1.3/5.2 platform, 
meaning mainly the update of the used modules, but also adding 
nuxeo-core-io-api.
The NoSuchDocumentException is actually hiding the fact that import command 
doesn't correctly merge the file structure to be imported with the existing 
Nuxeo path. import interprets the second parameter as "has to exist directory " 
and it tries to add the file structure under specified Nuxeo path. The resulted 
exported structure becomes incompatible with the expected structure for 
importing the files.


> 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
>
> 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
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to