Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-870

Fix export of list properties in result layouts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: 2.5.1, 2.6
    • Component/s: Layouts & Widgets
    • Backlog priority:
      400

      Description

      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:

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: