Bug 1922911 - Page crash when click the "Stacked" checkbox after clicking the data series toggle buttons
Summary: Page crash when click the "Stacked" checkbox after clicking the data series t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.7.0
Assignee: Andrew Pickering
QA Contact: hongyan li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-01 03:57 UTC by hongyan li
Modified: 2021-02-24 15:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:57:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8012 0 None closed Bug 1922911: Query Browser: Show empty state when all series are disabled 2021-02-21 07:55:07 UTC
Github openshift console pull 8056 0 None closed Bug 1922911: Query Browser: Fix graph crash after hiding and then showing a series 2021-02-21 07:55:08 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:57:55 UTC

Description hongyan li 2021-02-01 03:57:09 UTC
Description of problem:
Click button 'Hide all Series', then click 'Show all Series', Which leads  "Stacked" checkbox can't be clicked. Trying to click "Stacked" checkbox, the page will crash

Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2021-01-31-031653

How reproducible:
always

Steps to Reproduce:
1.Go to monitoring-metrics page
2.Click button 'Insert example query'
3.Click button 'Hide all Series', then click 'Show all Series'
4. Click "Stacked" checkbox, the page will crash

Actual results:


Expected results:
After click the data series toggle buttons, "Stacked" checkbox should be clickable and effective

Additional info:

Comment 2 hongyan li 2021-02-04 01:42:17 UTC
verified in payload 4.7.0-0.nightly-2021-02-03-165316
After click the data series toggle buttons, "Stacked" checkbox works well

Comment 3 hongyan li 2021-02-04 01:58:10 UTC
Correct comments 2:

Checked one query
Click button 'Insert example query', Click button 'Hide all Series', then click 'Show all Series', "Stacked" checkbox works well and is clickable

Checked two queries
Click button 'Insert example query'
Click buttion 'Add query'
Click button 'Hide all Series', then click 'Show all Series' for the both the queries, then click "Stacked" checkbox, the page will crash

Comment 6 hongyan li 2021-02-07 06:21:14 UTC
Test with payload 4.7.0-0.nightly-2021-02-06-084550

Click button 'Insert example query'
Click buttion 'Add query', select metric name and perform query
"Stacked" checkbox is gone
Click button 'Hide all Series', then click 'Show all Series' for the both the queries, no stacked check box
The stacked checkbox is only available when there is one query and works well.

Comment 9 errata-xmlrpc 2021-02-24 15:57:41 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633


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