Bug 1395079 - Hover at Tooltip show info twice when ConfigMap is shown in Pod Environment
Summary: Hover at Tooltip show info twice when ConfigMap is shown in Pod Environment
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: bpeterse
QA Contact: Yadan Pei
URL:
Whiteboard:
: 1428996 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-15 05:34 UTC by Yadan Pei
Modified: 2017-08-16 19:51 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously while hovering over the help icon for a configmap in the environment editor for a pod, the help text bubble would appear twice, side by side, revealing duplicate help text. Now a single tooltip will show the appropriate help text.
Clone Of:
Environment:
Last Closed: 2017-08-10 05:15:47 UTC
Target Upstream Version:


Attachments (Terms of Use)
ShowInfoTwice (87.33 KB, image/png)
2016-11-15 05:35 UTC, Yadan Pei
no flags Details
Common_twice_display (85.88 KB, image/png)
2016-11-16 07:00 UTC, Xingxing Xia
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description Yadan Pei 2016-11-15 05:34:43 UTC
Description of problem:
When a pod consume the configmap value, configmap value will be shown in Pod Environment tab, when hover at the question mark ?, it will show info twice

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

How reproducible:
Always

Steps to Reproduce:
1.Create ConfigMap and a Pod that consume the configmap value
# oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/configmap/configmap.yaml
# oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/configmap/pod-configmap-command.yaml
2.Login to web console
3.Go to Pods page
4.Check Pods Environment tab

Actual results:
4. SPECIAL_LEVEL_KEY -> Set to the key special.how in config map special-config
SPECIAL_TYPE_KEY -> Set to the key special.type in config map special-config
When hover at the question mark "?", it will show info twice:
This is a referenced value that will be generated when a container is created.  On running pods you can check the resolved values by going to the Terminal tab and echoing the environment variable.


Expected results:
4.Message should be shown only once, no need to show twice

Additional info:

Comment 1 Yadan Pei 2016-11-15 05:35:14 UTC
Created attachment 1220691 [details]
ShowInfoTwice

Comment 2 Xingxing Xia 2016-11-16 07:00:32 UTC
Created attachment 1221041 [details]
Common_twice_display

Found the twice display issue on other places, e.g, input invalid env var name on BC page, DC page, Crate From Image page, it shows 'Please enter a valid key" and '?' icon. Hovering upon the '?' icon, the issue occurs, see attachment Common_twice_display

Comment 3 Samuel Padgett 2016-11-16 11:48:07 UTC
I haven't been able to reproduce, but it seems specific to the key value editor. What browser are you using?

Comment 4 Xingxing Xia 2016-11-17 10:09:16 UTC
Both comment 0 and comment 2 are reproduced on both Firefox and Chrome for me. My Firefox version is 49, Chrome version is 53. Didn't check other browsers yet.

Comment 5 Jessica Forrester 2017-02-20 18:25:50 UTC
The second one is the browser's title text popup, its not a second bootstrap tooltip.  If you hover over the (?) long enough you will see both.

Comment 6 Robb Hamilton 2017-02-20 19:09:04 UTC
Fixed in https://github.com/openshift/origin-web-console/pull/1090

Waiting for merge queue to open before moving to modified.

Comment 7 Jessica Forrester 2017-03-03 18:57:08 UTC
*** Bug 1428996 has been marked as a duplicate of this bug. ***

Comment 8 Troy Dawson 2017-04-11 20:42:55 UTC
This has been merged into ocp and is in OCP v3.6.27 or newer.

Comment 10 lichao 2017-04-12 10:00:05 UTC
Description and comment 2 have fixed in OCP v3.6.27

Comment 12 errata-xmlrpc 2017-08-10 05:15:47 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/RHEA-2017:1716


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