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

Currency and cost-type dropdowns shouldn't reset after token refresh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • January 2024, 2024Q1
    • None
    • UI
    • None

      The currency and cost-type dropdowns are automatically being reset to default values after the sso token request (made by UI).

       200- POST - https://sso.stage.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token

      This issue is reproducible in both stage preview and prod!

       

      See the attached video:

      1. in the beginning of the video, ** all dropdowns on AWS Cost Explorer page are set to non-default values:

      • cost-type: Amortized
      • currency: CHF
      • group-by: Region
      • date range: Previous month to month to date

      2. page is reloaded after a new sso token request (the request is visible in the network console)

      3. currency and cost-type dropdowns are reset to USD and Unblended  (default values stored in cost-mgmt setttings). Remaining dropdowns are unaffected.

       

      Steps to reproduce

      1. log as cost-demo user to stage preview

      2. navigate to AWS Cost Explorer page

      3. change all dropdowns to non-default values, for example:

      • cost-type: Amortized
      • currency: CHF
      • group-by: Region
      • date range: Previous month to date

      4. in the network console check the last time the following request was made

      /auth/realms/redhat-external/protocol/openid-connect/token 

      5. after approximately ~ 14 mins after the last token request, another token request will be automatically sent and you will see that currency and cost-type dropdowns will be automatically reset to default values (USD and unblended cost) and the graph and table will be reloaded.

      The group-by and date range dropdowns are not affected (they will be still set to group-by Region and Previous month to date)

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

                Created:
                Updated:
                Resolved: