Bug 1732754 - Second selected query string should replace the existed one instead of directly appending the string at the end of previous one.
Summary: Second selected query string should replace the existed one instead of direct...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.2.0
Assignee: Andrew Pickering
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-24 09:43 UTC by XiaochuanWang
Modified: 2019-10-16 06:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:31:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:31:18 UTC

Description XiaochuanWang 2019-07-24 09:43:37 UTC
Description of problem:
Cluster admin goes to monitoring -> query-browser, select one query from "Insert Metrics from Cursor" dropdown , don't edit it and select another query from dropdown list. The query box will directly append the 2nd string at the end of the previous one.

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-07-24-000310

How reproducible:
Always

Steps to Reproduce:
1. Cluster admin goes to monitoring -> query-browser, select one query from "Insert Metrics from Cursor" dropdown -> click "Run Query"
2. Then select another query from the "Insert Metrics from Cursor" drop-down list


Actual results:
2. The 2nd string will be appended at the end of the existing query string, clicking `Run Queries` will give "No datapoint found"

Expected results:
2. Query box should replace the string by the 2nd one.

Additional info:

Comment 1 Andrew Pickering 2019-08-13 01:22:04 UTC
Should be fixed now.

Comment 3 XiaochuanWang 2019-08-16 07:32:44 UTC
Verified on 4.2.0-0.nightly-2019-08-15-205330
When the filter query text are selected from input box, it will be replaced to new query text after user select new query

Comment 4 errata-xmlrpc 2019-10-16 06:31:08 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-2019:2922


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