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

fix core types with restrictions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.5
    • Component/s: Core

      Description

      This fails on a property that has a type restriction (string with max size):

      doc.getValue("foo").getValue(String.class)
      
      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fguillaume Florent Guillaume
                Reporter:
                fguillaume Florent Guillaume
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: