[ 
https://jira.nuxeo.com/browse/NXS-870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=109259#comment-109259
 ] 

Anahide Tchertchian commented on NXS-870:
-----------------------------------------

also patch widget templates for 5.4.2 as feature was already there:
2.5: https://hgpriv.nuxeo.org/nuxeo-studio/rev/d307821718f0
2.6: https://hgpriv.nuxeo.org/nuxeo-studio/rev/103a11e73828

> Fix export of list properties in result layouts
> -----------------------------------------------
>
>                 Key: NXS-870
>                 URL: https://jira.nuxeo.com/browse/NXS-870
>             Project: Nuxeo Studio
>          Issue Type: Bug
>          Components: Layouts
>    Affects Versions: 2.4.3
>            Reporter: Thierry Martins
>            Assignee: Anahide Tchertchian
>            Priority: Major
>             Fix For: 2.5.1, 2.6
>
>
> Steps to reproduce:
> - create a new Virtual Navigation
> - in the Results tab, add a column with a complex property like a list (
> - in Nuxeo DM, navigate using the virtual navigation
> - try to export the content
> => it produces an error
> below is the beginning of the stacktrace:
> {noformat}
> ERROR [facelets.viewhandler] Error Rendering 
> View[/incl/export/content_view_xl.xhtml]
> com.sun.facelets.tag.TagAttributeException: 
> /widgets/list_widget_template.xhtml @11,86 
> value="#{widget.subWidgets.length}" For input string: "length"
>       at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
>       at com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:166)
>       at 
> org.nuxeo.ecm.platform.ui.web.tag.handler.SetTagHandler.apply(SetTagHandler.java:88)
>       at com.sun.facelets.tag.jstl.core.IfHandler.apply(IfHandler.java:54)
> ...
> Caused by: java.lang.NumberFormatException: For input string: "length"
>       at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>       at java.lang.Integer.parseInt(Integer.java:449)
>       at java.lang.Integer.parseInt(Integer.java:499)
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to