11-02-2013 03:24 AM
I get the following exception on a "Save" on from the edit view for a List widget field bound to a nested xpath expression, e.g. myparent/mychild (mychild is a xs:element with minOccurs = 0 and maxOccurs=unbounded)
java.lang.ClassCastException: org.nuxeo.ecm.core.schema.types.ComplexTypeImpl cannot be cast to org.nuxeo.ecm.core.schema.types.ListType
however, if i declare the "mychild" declaration at the root level of the schema (thus the xpath example above becomes just 'mychild'), saving works.
Anyone know if this a just a 5.7.x bug or hopefully fixed in 5.8? thanks
11-05-2013 10:37 AM
Hi,
Looks a lot like https://jira.nuxeo.com/browse/NXP-10053, maybe you're not setting minOccurs and maxOccurs elements as Nuxeo expects it.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.