-
Bug
-
Resolution: Fixed
-
Major
-
4.0M7
-
None
-
None
The service can not be edited because the service parameter "content-types" is saved as a "single" value
Single-valued property can not be set to an array of values:property /ametys:root/ametys-internal:sites/45/7d/www/ametys-internal:sitemaps/fr/fonctionnalites-avancees/agenda/ametys-internal:zones/zone-2/ametys-internal:zoneItems/ametys:zoneItem/ametys:service_parameters/ametys:content-types javax.jcr.ValueFormatException: Single-valued property can not be set to an array of values:property /ametys:root/ametys-internal:sites/45/7d/www/ametys-internal:sitemaps/fr/fonctionnalites-avancees/agenda/ametys-internal:zones/zone-2/ametys-internal:zoneItems/ametys:zoneItem/ametys:service_parameters/ametys:content-types at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:274) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:780) at org.apache.jackrabbit.core.NodeImpl$7.perform(NodeImpl.java:2140) at org.apache.jackrabbit.core.NodeImpl$7.perform(NodeImpl.java:2130) at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2130) at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1880) at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata.setMetadata(JCRCompositeMetadata.java:940) at org.ametys.web.repository.page.PageDAO._getAndSaveParameter(PageDAO.java:1528) at org.ametys.web.repository.page.PageDAO._setParameterValues(PageDAO.java:1468) at org.ametys.web.repository.page.PageDAO.configureService(PageDAO.java:1446) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.ametys.core.ui.ExecuteClientCallsAction._executeMethod(ExecuteClientCallsAction.java:133) at org.ametys.core.ui.ExecuteClientCallsAction.act(ExecuteClientCallsAction.java:120) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:120) ....