Bug 1777177

Summary: "Insert Example Query" button should also enable the query
Product: OpenShift Container Platform Reporter: Andrew Pickering <anpicker>
Component: Management ConsoleAssignee: Andrew Pickering <anpicker>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: aos-bugs, hasha, jokerman
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1777178 (view as bug list) Environment:
Last Closed: 2020-05-04 11:17:42 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:
Bug Depends On:    
Bug Blocks: 1777178    

Description Andrew Pickering 2019-11-27 04:12:48 UTC
Description of problem:
Clicking the "Insert Example Query" button should set the query switch to enabled.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Navigate to Monitoring > Metrics
2. Enter a query and run it
3. Disable the query
4. Click the "Insert Example Query" button

Actual results:
Query is run and the results are displayed correctly, but the query switch is still set to disabled.

Expected results:
Query switch should be set to enabled.

Additional info:

Comment 2 shahan 2019-12-16 03:16:32 UTC
1. Navigate to Monitoring > Metrics
2. Enter a query and run it
3. Disable the query
4. Click the "Insert Example Query" button

Then the Query switch is enbaled.
4.4.0-0.nightly-2019-12-15-184910

Comment 4 errata-xmlrpc 2020-05-04 11:17:42 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:0581