-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.6-RC1
-
Component/s: Content Routing (old, deprecated)
Some ids are generated from the following variable idPrefix :
<nxu:set var="idPrefix" value="#
{task.name}#
{status.index}" cache="true">, but when the task name contains spaces it causes a crash with the following stack trace:
Caused by: java.lang.IllegalArgumentException: Holiday request approval0_valueHolder
at javax.faces.component.UIComponentBase.validateId(UIComponentBase.java:555)
at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:351)
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:151)
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
at org.nuxeo.ecm.platform.ui.web.binding.alias.AliasTagHandler.apply(AliasTagHandler.java:167)
at org.nuxeo.ecm.platform.ui.web.tag.handler.SetTagHandler.apply(SetTagHandler.java:133)
at org.nuxeo.ecm.platform.ui.web.binding.alias.AliasTagHandler.apply(AliasTagHandler.java:167)
at org.nuxeo.ecm.platform.ui.web.tag.handler.SetTagHandler.apply(SetTagHandler.java:133)
at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:175)