[ 
http://jira.nuxeo.org/browse/NXP-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55607#action_55607
 ] 

Radu Darlea commented on NXP-3847:
----------------------------------

Steps to reproduce:
create or edit a workspace. Exception thrown: 
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.core.api.model.PropertyNotFoundException. message: Property not 
found: welcomeMedia. 
        at 
org.nuxeo.ecm.core.api.model.impl.ComplexProperty.get(ComplexProperty.java:147)
        at 
org.nuxeo.ecm.core.api.model.impl.AbstractProperty.resolvePath(AbstractProperty.java:399)
        at 
org.nuxeo.ecm.core.api.model.impl.AbstractProperty.resolvePath(AbstractProperty.java:366)
        at 
org.nuxeo.ecm.core.api.model.impl.AbstractProperty.resolvePath(AbstractProperty.java:360)
        at 
org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getProperty(DocumentModelImpl.java:1258)
        at 
org.nuxeo.ecm.platform.filemanager.core.listener.BlobExtractor.getBlobsProperties(BlobExtractor.java:61)
        at 
org.nuxeo.ecm.platform.filemanager.core.listener.MimetypeIconUpdater.handleEvent(MimetypeIconUpdater.java:98)

Problem: the webcontainer schema contains 2 blobs: logo and welcomeMedia. The 
BlobExtractor ends up requiring the property "/logo/welcomeMedia" which 
obviously doesn't exist. The Property implementation doesn't find the last 
field as property.

> Read schemes with multiple blobs in BlobExtractor
> -------------------------------------------------
>
>                 Key: NXP-3847
>                 URL: http://jira.nuxeo.org/browse/NXP-3847
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Sub-task
>    Affects Versions: 5.2 GA
>            Reporter: Radu Darlea
>            Assignee: Radu Darlea
>             Fix For: 5.2.1
>
>
> Fix BlobExtractor to correctly read schemes with multiple blobs.

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