-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 6.0
-
Component/s: Layouts & Widgets
-
Sprint:nxNag Sprint 7.1-3
-
Story Points:1
Steps to reproduce:
- in Studio, create a document with a schema field of type "integer", multiple
- drag& drop this field to the creation layout, leave default configuration and save
- create the document from Nuxeo, and fill values for this field
The following error appears on the widget:
document_create:nxl_layout_File2_create:nxw_ints:nxw_ints_input: An error occurred when processing your submitted information.
The following stack trace is visible in logs:
Dec 16, 2014 5:33:53 PM javax.faces.webapp.PreJsf2ExceptionHandlerFactory$PreJsf2ExceptionHandler log SEVERE: document_create:nxl_layout_File2_create:nxw_ints:nxw_ints_input: An error occurred when processing your submitted information. java.lang.ArrayStoreException at java.util.ArrayList.toArray(ArrayList.java:390) at org.nuxeo.ecm.core.api.model.impl.ArrayProperty.normalize(ArrayProperty.java:63) at org.nuxeo.ecm.core.api.model.impl.AbstractProperty.setValue(AbstractProperty.java:292) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.setPropertyValue(DocumentModelImpl.java:1443) at org.nuxeo.ecm.platform.el.DocumentModelResolver.setValue(DocumentModelResolver.java:228) at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:255) at com.sun.faces.el.DemuxCompositeELResolver.setValue(DemuxCompositeELResolver.java:281) at org.jboss.el.parser.AstBracketSuffix.setValue(AstBracketSuffix.java:75) at org.jboss.el.parser.AstValue.setValue(AstValue.java:84) at org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249) at org.nuxeo.ecm.platform.ui.web.binding.alias.AliasValueExpression.setValue(AliasValueExpression.java:117) at org.jboss.el.parser.AstIdentifier.setValue(AstIdentifier.java:65) at org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249) at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:131) at javax.faces.component.UIInput.updateModel(UIInput.java:832) at org.nuxeo.ecm.platform.ui.web.component.list.UIEditableList.processUpdates(UIEditableList.java:1101) at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1286)