Export document with last version broken
----------------------------------------

                 Key: NXP-4204
                 URL: http://jira.nuxeo.org/browse/NXP-4204
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
          Components: Core
    Affects Versions: 5.3 RC
            Reporter: Radu Darlea
             Fix For: 5.3.x


A regular document is exported and we need to know the last version (if any) to 
set the metadata on document. The document manager obtains the last version and 
it tries to read it as document model: the node has no name, hence JCRDocument 
implementation throws NPE. Metadata are not exported, the import won't be able 
to import it. 

Check if the name is really needed. If not, just block the NPE. If yes, the 
export tool should consider there is no version registered and set the metadata 
accordingly.

-- 
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