-
Bug
-
Resolution: Done
-
Major
-
None
-
Moderate
-
1
-
Interact Sprint 72
-
** Note that this is a public ticket, please refrain from adding any sensitive data. **
When trying to click on "View Known Exploints" button in the Red Hat insights dashboard, running into this error
Danger alert:Error 'true' is not one of ['rpmdnf', 'edge', 'none'] Failed validating 'enum' in schema['items']: {'type': 'string', 'enum': ['rpmdnf', 'edge', 'none']} On instance[0]: 'true'
Steps to reproduce:
- Open https://console.redhat.com/insights/dashboard#SIDs=&tags=
- Don't let the page load completely and click on the "View known exploits" button as soon as you can see it
- Observe the behavior
Actual Behavior:
"View known exploits" button tries to take the user to https://console.redhat.com/insights/vulnerability/cves?known_exploit=true&affecting=true but and it errors out as affecting=true is a bad payload here. It should be something like affecting=rpmdnf,edge .
Expected Behavior:
Whether too early or not, The "View known exploits" button should always point to the right URL i.e. https://console.redhat.com/insights/vulnerability/cves?known_exploit=true&affecting=rpmdnf,edge
Additional Notes:
The end-user can consistently reproduce this, even after waiting for 10 - 15 seconds after opening the dashboard.
The issue is also reproducible by the user, if they open console_dot from an Incognito\Private browsing session of the browser.
Myself and engineering team managed to reproduce the issue but it's only possible if we don't wait and just as soon as the button is visible we click it.