Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8603

Fix CSV rendering of list widget

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: None

      Description

      CSV export of list properties fails with error:

      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

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: