Bug 1859256
Summary: | Blankpage when using search on imagemanifestvuln resource | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | amobrem |
Component: | Management Console | Assignee: | ralpert |
Status: | CLOSED ERRATA | QA Contact: | Yanping Zhang <yanpzhan> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.5 | CC: | aos-bugs, jokerman, yapei |
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: The component was using props.match.params.ns, which was sometimes undefined.
Consequence: As a result, there was a runtime error.
Fix: I updated it to to use the namespace prop instead in line with other components.
Result: The bug is fixed.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:16:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1870825 |
Description
amobrem
2020-07-21 14:54:51 UTC
I can reproduce: can't access property "params", props.match is undefined ImageManifestVulnPage container-security-7233c3f0427db94c9680.js:320:22 Came up with fix for runtime error, but need to investigate better ways to use namespace. I did a quick search earlier this week and didn't see anything, but I'll keep looking next sprint. I have a fix for this in a PR; just figuring out an integration test issue. Then I just need a review. Checked on ocp 4.6 cluster with payload 4.6.0-0.nightly-2020-09-03-191144. 1.Install container security operator in cluster, 2.Go to search page 3.Select ImageManifestVuln, could search successfully, there is no blank page now. The bug is fixed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196 |