-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
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)
- Login to ConsoleDot
- Click on Red Hat Enterprise Linux, then Red Hat Insights on the left nav
- Click on Vulnerabiltiy, then CVEs on the left nav
- Click on the link just below "CVEs with security rules"
- 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'"
- relates to
-
RHCLOUD-21199 Update openapi spec and refactor cloud-connector plugin
- Closed