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
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to