Bug 1765074 - Lots of svg errors in the browser console
Summary: Lots of svg errors in the browser console
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.4.0
Assignee: Jon Jackson
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-24 09:56 UTC by Udi Kalifon
Modified: 2020-05-18 13:35 UTC (History)
4 users (show)

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
Clone Of:
Environment:
Last Closed: 2020-05-18 13:35:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:2133 0 None None None 2020-05-18 13:35:29 UTC

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


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