Algorithm in BlobsExtractor works wrong for certain documents
-------------------------------------------------------------

                 Key: NXP-5395
                 URL: https://jira.nuxeo.org/browse/NXP-5395
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
          Components: Core
    Affects Versions: 5.3 GA
            Reporter: Alexey Ustenko


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://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