Description
When using the multi-valued property model to create a new property, it uses the wrong property definition in the relaxed node type. This leads to property values being created with the wrong type, e.g. double for string values.
This leads to issues such as
[INFO] [talledLocalContainer] 11.10.2011 16:27:03 ERROR [org.apache.wicket.RequestCycle.logRuntimeException():1529] org.onehippo.forge.selection.frontend.model.ListItem cannot be cast to java.lang.Double
[INFO] [talledLocalContainer] java.lang.ClassCastException: org.onehippo.forge.selection.frontend.model.ListItem cannot be cast to java.lang.Double
[INFO] [talledLocalContainer] at org.hippoecm.frontend.model.properties.JcrMultiPropertyValueModel.setObject(JcrMultiPropertyValueModel.java:144)
[INFO] [talledLocalContainer] at org.hippoecm.frontend.model.properties.JcrMultiPropertyValueModel.setObject(JcrMultiPropertyValueModel.java:54)
[INFO] [talledLocalContainer] at org.apache.wicket.extensions.markup.html.form.palette.Palette.updateModel(Palette.java:516)
[INFO] [talledLocalContainer] at org.apache.wicket.extensions.markup.html.form.palette.Palette$1.updateModel(Palette.java:268)
Attachments
Issue Links
- is awaited by
-
HIPPLUG-259 Multi-select plugins store ListItem instead of value
- Closed