Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1870825

Summary: Blankpage when using search on imagemanifestvuln resource
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Management ConsoleAssignee: ralpert
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.5.z   
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-09-21 17:42:05 UTC Type: ---
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: 1859256    
Bug Blocks:    

Description OpenShift BugZilla Robot 2020-08-20 19:56:52 UTC
+++ This bug was initially created as a clone of Bug #1859256 +++

Description of problem:

Blankpage when using search on imagemanifestvuln resource
Version-Release number of selected component (if applicable):


How reproducible:
Easily


Steps to Reproduce:
1.Go to search page
2.Select ImageManifestVuln
3.Pages becomes blank


Actual results:
blank page

Expected results:
list view of imagemanifestvuln resource

Additional info:

--- Additional comment from spadgett on 2020-07-21 15:51:01 UTC ---

I can reproduce:

can't access property "params", props.match is undefined

ImageManifestVulnPage
  container-security-7233c3f0427db94c9680.js:320:22

--- Additional comment from ralpert on 2020-07-31 17:54:14 UTC ---

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.

--- Additional comment from ralpert on 2020-08-20 15:27:15 UTC ---

I have a fix for this in a PR; just figuring out an integration test issue. Then I just need a review.

Comment 1 ralpert 2020-09-11 14:47:08 UTC
Waiting for backport to merge.

Comment 4 Yanping Zhang 2020-09-16 03:11:24 UTC
Checked on ocp 4.5 with payload 4.5.0-0.nightly-2020-09-14-030924.
Install container security operator in cluster, go to search page, search "ImageManifestVuln", it works normally, the page doesn't become blank.
The bug is fixed.

Comment 6 errata-xmlrpc 2020-09-21 17:42:05 UTC
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.5.11 bug fix update), 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:3719