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

Fix Excel export of document history

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Audit, Seam / JSF UI

      Description

      How to reproduce

      • Open an existing document with non empty history tab
        loop:
      • go to the history tab and export Excel=> does it choke? (error page)
      • if not choking, download the Excel export
      • refresh the page in the browser
        goto loop:

      When choking, the server-side shows;

      2021-06-08T14:42:23,858 ERROR [application] Error Rendering View[/incl/export/content_view_xl.xhtml]
      java.util.MissingResourceException: Can't find resource for bundle org.jboss.seam.core.SeamResourceBundle, key org.jboss.seam.excel.not_a_date
              at java.util.ResourceBundle.getObject(ResourceBundle.java:564) ~[?:?]
              at java.util.ResourceBundle.getString(ResourceBundle.java:521) ~[?:?]
              at org.jboss.seam.excel.jxl.JXLHelper.createCell(JXLHelper.java:699) ~[jboss-seam-excel-2.3.1.Final.jar:2.3.1.Final]
              at org.jboss.seam.excel.jxl.JXLExcelWorkbook.addCell(JXLExcelWorkbook.java:261) ~[jboss-seam-excel-2.3.1.Final.jar:2.3.1.Final]
              at org.jboss.seam.excel.jxl.JXLExcelWorkbook.addItem(JXLExcelWorkbook.java:505) ~[jboss-seam-excel-2.3.1.Final.jar:2.3.1.Final]
              at org.nuxeo.ecm.platform.ui.web.component.seam.JXLExcelWorkbook.addItem(JXLExcelWorkbook.java:43) ~[nuxeo-platform-ui-web-10.10-HF25.jar:?]
              at org.nuxeo.ecm.platform.ui.web.component.seam.UIColumn.encodeBegin(UIColumn.java:70) ~[nuxeo-platform-ui-web-10.10-HF25.jar:?]
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1855) ~[jsf-api-2.2.6.jar:2.2]
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1860) ~[jsf-api-2.2.6.jar:2.2]
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1860) ~[jsf-api-2.2.6.jar:2.2]
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1860) ~[jsf-api-2.2.6.jar:2.2]
              at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1860) ~[jsf-api-2.2.6.jar:2.2]
              at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:461) [jsf-impl-2.2.6-NX01.jar:2.2.6]
      [...]
      

      See attached file

        Attachments

        1. ExcelHistoryExport.txt
          45 kB
        2. image (4).png
          image (4).png
          111 kB
        3. image (5).png
          image (5).png
          111 kB
        4. image (6).png
          image (6).png
          117 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: