Bug 1922911

Summary: Page crash when click the "Stacked" checkbox after clicking the data series toggle buttons
Product: OpenShift Container Platform Reporter: hongyan li <hongyli>
Component: MonitoringAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: hongyan li <hongyli>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: alegrand, anpicker, erooth, kakkoyun, lcosic, pkrupa, surbania
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:57:41 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 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