Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-1462

CSV Export downloads an empty HTML file named 'undefined.html' when exporting 0 result

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI

      Description

      When clicking on icon Export CSV in a search page or a folderish document that contains 0 result, it downloads an empty HTML name undefined.html instead of a CSV file with the header line.

      How to reproduce:

      • navigate to an empty workspace
      • click the Export CSV icon

      Expected result: a CSV file is downloaded with simply the header line
      Actual result: an empty HTML file is downloaded

      It can be easily reproduced on nightly-2021.

      See attached HAR files with Chrome and Firefox.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: