Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-388

CSV reports download empty when enabling the option after an analysis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • MTA 6.1.0
    • MTA 6.1.0
    • UI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      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:

      1. Go to Administration -> General and disable the "Download CSV Report" toggle.
      2. Create an application and run an analysis on it
      3. Go to Administration -> General and enable the "Download CSV Report" toggle.
      4. 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:

            ibolton@redhat.com Ian Bolton
            rh-ee-abrugaro Alejandro Brugarolas
            Alejandro Brugarolas Alejandro Brugarolas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: