Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-4204

Export document with last version broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3 RC
    • Fix Version/s: 5.1.x, 5.3.1
    • Component/s: Core

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              rdarlea Radu Darlea
              Reporter:
              rdarlea Radu Darlea
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 5 hours
                1d 5h