Fix advanced search form error after JSF upgrade from 1.12 to 1.13
------------------------------------------------------------------

                 Key: NXP-6065
                 URL: https://jira.nuxeo.org/browse/NXP-6065
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
            Reporter: Anahide Tchertchian
            Assignee: Anahide Tchertchian
             Fix For: 5.4.1


When deploying Nuxeo 5.4.0 on jboss EAP 5.1.0 or 5.1.1 (includes a JSF upgrade 
version from 1.12 to 1.13), the advanced search form crashes because of the 
converter set on the boolean checkbox for deleted documents inclusion.

See also NXP-5813 and NXP-5300 for changes: the boolean checkbox renderer is 
overriden in Nuxeo so that it can accept a converter (as any standard JSF 
component). The checkbox component behaviour has changed: it now sets a boolean 
sumiitted value instead of a string => need to update the renderer behaviour 
for this use case and avoid the following stack error:

Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be cast to 
java.lang.String
        at 
org.nuxeo.ecm.platform.ui.web.renderer.NXCheckboxRenderer.getConvertedValue(NXCheckboxRenderer.java:49)
        at javax.faces.component.UIInput.getConvertedValue(UIInput.java:942)
        at javax.faces.component.UIInput.validate(UIInput.java:868)
        at javax.faces.component.UIInput.executeValidate(UIInput.java:1072)
        at javax.faces.component.UIInput.processValidators(UIInput.java:672)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to