Bug 1868151

Summary: List pages with help text can have invalid HTML
Product: OpenShift Container Platform Reporter: Robb Hamilton <rhamilto>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Version: 4.6.0-fc.0 Cluster ID: 50333b4e-a5ba-41aa-96c6-43b4310cd96e Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
Last Closed: 2020-10-27 16:27:34 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
Help text causes console error none

Description Robb Hamilton 2020-08-11 19:52:00 UTC
Description of problem:  certain list pages (e.g., Installed Operators) have help text that is invalidly nested HTML (a <p> inside a <p>) and a console warning is present as a result.


Steps to Reproduce:
1.  Visit /k8s/all-namespaces/operators.coreos.com~v1alpha1~ClusterServiceVersion
2.  Note the console warning `Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>.`

Comment 1 Yadan Pei 2020-08-12 02:35:18 UTC
Robb, I didn't see this error when no operators is installed. Do I need specific conditions to reproduce this bug?

Comment 2 Robb Hamilton 2020-08-12 14:23:56 UTC
Created attachment 1711190 [details]
Help text causes console error

Comment 3 Robb Hamilton 2020-08-12 14:24:30 UTC
(In reply to Yadan Pei from comment #1)
> Robb, I didn't see this error when no operators is installed. Do I need
> specific conditions to reproduce this bug?

No.  Simply visiting /k8s/all-namespaces/operators.coreos.com~v1alpha1~ClusterServiceVersion should show the bug.  I've added a screenshot for reference.

Comment 6 XiaochuanWang 2020-08-17 07:46:15 UTC
Page /k8s/all-namespaces/operators.coreos.com~v1alpha1~ClusterServiceVersion does not hit the error again, verified on 4.6.0-0.nightly-2020-08-16-072105

Comment 8 errata-xmlrpc 2020-10-27 16:27:34 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