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

Algorithm in BlobsExtractor works wrong for certain documents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.3 GA
    • Fix Version/s: 5.3.2
    • Component/s: Core

      Description

      We have pretty complex document types in our system.
      And sometimes an exception happens on attempt to get all blobs from a document of such type.

      The problem is in behavior of BlobsExtractor class.
      It tries to find all blob properties in a document metadata.
      But it fails in case when a complex property with a blob field goes after a complex property without blob.

      If you apply changes (attached) to the existing test data of nuxeo-core-api project, TestBlobsExtractor.test will fail.

      Provided by Gagnavarslan.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: