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

Fix default value for schema list properties of workflow document types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.8
    • Fix Version/s: None
    • Component/s: Core, Workflow

      Description

      The default value for List properties is following a syntax (splitting on space character). When such a default value is used in a workflow task document type, the following error occurs:

      2013-10-31 16:02:48,589 ERROR [com.nuxeo.studio.core.builders.WorkflowFeatureBuilder] Unable to export workflow models to zip 
      java.lang.IllegalArgumentException: A value of list type is neither list neither array: group:admin_fabrication
      	at org.nuxeo.ecm.core.io.impl.ExportedDocumentImpl.readProperty(ExportedDocumentImpl.java:329)
      	at com.nuxeo.studio.core.builders.workflow.ExportedDetachedDocumentImpl.readDocumentSchemas(ExportedDetachedDocumentImpl.java:58)
      	at org.nuxeo.ecm.core.io.impl.ExportedDocumentImpl.readDocument(ExportedDocumentImpl.java:250)
      	at org.nuxeo.ecm.core.io.impl.ExportedDocumentImpl.<init>(ExportedDocumentImpl.java:106)
      	at com.nuxeo.studio.core.builders.workflow.ExportedDetachedDocumentImpl.<init>(ExportedDetachedDocumentImpl.java:35)
      	at com.nuxeo.studio.core.builders.workflow.GraphTreeReader.read(GraphTreeReader.java:51)
      	at org.nuxeo.ecm.core.io.impl.AbstractDocumentReader.read(AbstractDocumentReader.java:43)
      	at org.nuxeo.ecm.core.io.impl.DocumentPipeImpl.readAndWriteDocs(DocumentPipeImpl.java:117)
      	at org.nuxeo.ecm.core.io.impl.DocumentPipeImpl.run(DocumentPipeImpl.java:98)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: