Bug 1765074

Summary: Lots of svg errors in the browser console
Product: OpenShift Container Platform Reporter: Udi Kalifon <ukalifon>
Component: Management ConsoleAssignee: Jon Jackson <jonjacks>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aos-bugs, jokerman, pweil, spadgett
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Suspect upstream issue in @patternfly/react-charts Consequence: Console errors relating to missing or incorrect svg attributes Fix: Update @patternfly/react-charts to v5.2.2 Result: SVG errors are no longer present
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-18 13:35:02 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:

Description Udi Kalifon 2019-10-24 09:56:44 UTC
Description of problem:
If you open the browser console (F12) you see a lot of errors like this:

Error: <svg> attribute viewBox: Expected number, "0 0 null null".
yt @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
Ba @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
(anonymous) @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
t.unstable_runWithPriority @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196963
co @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
Hs @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
Ds @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
(anonymous) @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
t.unstable_runWithPriority @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196963
co @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
ho @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
po @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
As @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
enqueueSetState @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
O.setState @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196634
(anonymous) @ main-chunk-6508e84edcbe7e007f9d.min.js:1
Promise.then (async)
t.loadComponent @ main-chunk-6508e84edcbe7e007f9d.min.js:1
t.componentDidMount @ main-chunk-6508e84edcbe7e007f9d.min.js:1
(anonymous) @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
t.unstable_runWithPriority @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196963
co @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
Hs @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
As @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
au @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
su @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
(anonymous) @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
Is @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
hu @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
render @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:196669
3020 @ main-chunk-6508e84edcbe7e007f9d.min.js:1
o @ runtime~main-bundle-3c479ec4aeb44bfebbd5.min.js:1
2958 @ main-chunk-6508e84edcbe7e007f9d.min.js:1
o @ runtime~main-bundle-3c479ec4aeb44bfebbd5.min.js:1
c @ runtime~main-bundle-3c479ec4aeb44bfebbd5.min.js:1
a @ runtime~main-bundle-3c479ec4aeb44bfebbd5.min.js:1
(anonymous) @ vendors~main-chunk-909d9f4d0bb35e36938f.min.js:1


Version-Release number of selected component (if applicable):
4.3.0-0.okd-2019-10-23-224431


How reproducible:
100%


Steps to Reproduce:
1. When you're in the dashboards page, press F12 (you might need to refresh with F5)


Actual results:
Lots of svg errors

Comment 1 Samuel Padgett 2019-10-24 12:39:04 UTC
Rastislav, can you look since these happen on the dashboard page? The error seems to be from one of the PF4 charts.

We might lower the severity since there is no apparent bad effects, just noise in the console log.

Comment 2 Samuel Padgett 2019-10-24 13:34:22 UTC
Reassigning to Jon to investigate if this is a PF4 chart bug.

Comment 3 Jon Jackson 2020-05-04 15:33:29 UTC
Resolved in 4.4. Likely caused by a PatternFly React Charts bug that was resolved upstream. I was unable to locate a specific issue or pull request, but no longer see SVG errors in the console as of v4.4

Comment 4 Udi Kalifon 2020-05-05 07:50:44 UTC
Verified: 4.4.0-0.nightly-2020-04-27-013217

Comment 7 errata-xmlrpc 2020-05-18 13:35:02 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, 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:2133