[ 
https://jira.nuxeo.com/browse/NXP-8026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent Guillaume resolved NXP-8026.
------------------------------------

    Resolution: Fixed

http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/d7b9f780ff54

> fix core types with restrictions
> --------------------------------
>
>                 Key: NXP-8026
>                 URL: https://jira.nuxeo.com/browse/NXP-8026
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 5.4.2
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>             Fix For: 5.5
>
>
> This fails on a property that has a type restriction (string with max size):
> {noformat}
> doc.getValue("foo").getValue(String.class)
> {noformat}
> {noformat}
> java.lang.UnsupportedOperationException: Not implemented
>       at 
> org.nuxeo.ecm.core.api.model.impl.AbstractProperty.convertTo(AbstractProperty.java:466)
>       at 
> org.nuxeo.ecm.core.api.model.impl.AbstractProperty.getValue(AbstractProperty.java:319)
> {noformat}

--
This message is automatically generated by JIRA.
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