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)
- duplicates
-
NXS-2328 Fix export of workflow definition for multi-valued fields
- Resolved