Description of problem:
If the user enables the "Download CSV Report" option after running an analysis, MTA will download an empty file that cannot be decompressed.
Version-Release number of selected component (if applicable): MTA 6.1.0
How reproducible: Always
Steps to Reproduce:
- Go to Administration -> General and disable the "Download CSV Report" toggle.
- Create an application and run an analysis on it
- Go to Administration -> General and enable the "Download CSV Report" toggle.
- Download the CSV report of the created application.
Actual results:
The downloaded .tar.gz file is empty and can't be extracted, resulting in an error when trying to unzip it from OS GUI or an empty output when trying from CLI.
Expected results:
If the CSV report download is not available for a specific anlaysis, the link to download it shouldn't be displayed.
Additional info:
- is related to
-
MTA-116 Download HTML and CSV analysis reports
- Closed