Bug 1840594

Summary: Fallback icon not shown on the catalog > Instantiate Template screen
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Christoph Jerolimov <cjerolim>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, cvogt, jakumar, nmukherj, sgarciam, spathak
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:01:07 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:
Attachments:
Description Flags
Fallback icon shown on the catalog > Instantiate Template screen
none
Fallback icon shown on the catalog > Instantiate Template screen-1 none

Description Christoph Jerolimov 2020-05-27 09:50:50 UTC
Description of problem:
After fixing https://bugzilla.redhat.com/show_bug.cgi?id=1832609 we noticed that the fallback icon was shown on the next screen ("Instantiate Template").

Version-Release number of selected component (if applicable):
4.4 and 4.5 nightly

How reproducible:
Always

Steps to Reproduce:
As described in https://bugzilla.redhat.com/show_bug.cgi?id=1832609 by Sergio:

1. Create a template without any icon information (no metadata.annotations.iconClass)
2. Find the template in the catalog and see how the icon is not shown
3. Click on the template to see the details and see how the icon is properly shown
Click on "instantiate template" and see how the icon is properly shown in the next screen

I recommend to create a project first and import then the template files with `oc create -f template-test.yaml -n yourProject`. I uploaded 3 template files to the other bugzilla issue.

Actual results:
No icon was shown, in the case that no metadata.annotations.iconClass was provied. (test case 3)

Expected results:
The same icon (fallback icon) should be shown similar to the screens before.

Additional info:

Comment 3 spathak@redhat.com 2020-06-22 12:42:08 UTC
Created attachment 1698292 [details]
Fallback icon shown on the catalog > Instantiate Template screen

Comment 4 spathak@redhat.com 2020-06-22 12:45:27 UTC
Created attachment 1698293 [details]
Fallback icon shown on the catalog > Instantiate Template screen-1

Comment 5 spathak@redhat.com 2020-06-22 13:01:07 UTC
Validated on build version: 4.6.0-0.ci-2020-06-21-102938
Browser version: Chrome76

Comment 7 errata-xmlrpc 2020-10-27 16:01:07 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.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