Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-21197

Insights Chroming bug: Back button causes app to hang

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • None
    • Normal

      This was observed with a specific navigation sequence, but may be a more general problem with the browser Back button when navigating between apps.

      To reproduce on stage or production (Google Chrome: Version 105.0.5195.102)

      1. Login to ConsoleDot
      2. Click on Red Hat Enterprise Linux, then Red Hat Insights on the left nav
      3. Click on Vulnerabiltiy, then CVEs on the left nav
      4. Click on the link just below "CVEs with security rules"
      5. Press the browser Back button

      At this point, the "Inventory" entry in the left nav is highlighted and a 400 error is generated.

       

      Request to backend:

      src_js_bootstrap_js-src_js_unfetch_index_js-node_modules_redhat-cloud-services_frontend-compo-4f5f41.5eccd41f5f47ba66620b.js:7336          GET https://console.stage.redhat.com/api/inventory/v1/hosts/cves 400

       

      Error message shown to user:

      "'cves' does not match '[0-9a-fA-F]{8}\\\\-[0-9a-fA-F]{4}\\\\-[0-9a-fA-F]{4}\\\\-[0-9a-fA-F]{4}\\\\-[0-9a-fA-F]{12}$|[0-9a-fA-F]{8}[0-9a-fA-F]{4}[0-9a-fA-F]{4}[0-9a-fA-F]{4}[0-9a-fA-F]{12}$'\n\nFailed validating 'pattern' in schema['items']:\n    {'format': 'uuid',\n     'pattern': '^[0-9a-fA-F]

      {8}

      \\\\-[0-9a-fA-F]{4}\\\\-[0-9a-fA-F]{4}\\\\-[0-9a-fA-F]{4}\\\\-[0-9a-fA-F]{12}$|^[0-9a-fA-F]{8}[0-9a-fA-F]{4}[0-9a-fA-F]{4}[0-9a-fA-F]{4}[0-9a-fA-F]{12}$',\n     'type': 'string'}\n\nOn instance[0]:\n    'cves'"

              Unassigned Unassigned
              rhn-support-jusun Justin Sun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: