Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-5487

Export via kebab menu does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-Sep-13
    • None
    • UI
    • None

      Export of individual items on Details pages  via kebab menu does not work -> the underlying API request contains "undefined" instead of path to a respective cost report endpoint:

      /api/cost-management/v1/undefined?cost_type=calculated_amortized_cost&currency=USD&end_date=2024-08-31&filter[account]=0088883333999&filter[resolution]=monthly&group_by[account]=*&limit=0&start_date=2024-08-01 

      It seems to be an issue on all Details pages as well as on the EC2 instance page, both in stage and prod env

      Note that the "normal" Export via top bar (next to filtering dropdown) works fine.

       

      Steps to reproduce:

      stage env, cost-demo account

      1. navigate to some Details pages, e.g. AWS Details page
      2. click on the kebab menu (More options) for some item and choose "Export data" (see kebab_export.png)
      3. on Export dialog, click on "Generate data"
      4. csv is not downloaded and you will see 404 response for a respective request in the network console
      5. if you try to export the item again, you will end up with "Something went wrong" Sentry error

              dlabrecq@redhat.com Daniel Labrecque
              rhn-support-esebesto Eva Šebestová
              Eva Šebestová Eva Šebestová
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: