Bug 1868151 - List pages with help text can have invalid HTML
Summary: List pages with help text can have invalid HTML
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.6.0
Assignee: Robb Hamilton
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-11 19:52 UTC by Robb Hamilton
Modified: 2020-10-27 16:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Help text causes console error (1.32 MB, image/png)
2020-08-12 14:23 UTC, Robb Hamilton
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6303 0 None closed Bug 1868151: fix invalidly nested help text 2020-08-17 07:36:51 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:27:56 UTC

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


Note You need to log in before you can comment on or make changes to this bug.