Exception saving on List widget with complexType
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