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

Export document with broken blobs

    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 document contains blobs and it is export. Reading the blob fails in JCR because file backing binary value is not found and finaly JCRBlobInputStream throws NPE. The exporter doesn't export the metadata and blobs, the import won't be able to import it.

      The NPE has to be avoided. If the blobs are not available, export document without them: first remove the blob reference in the schemes and after export document XML.

        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 - 1 day, 1 hour Original Estimate - 1 day, 1 hour
                1d 1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 5 hours
                1d 5h