Bug 1187549

Summary: UI should raise tool-tip to select CV on env selection, while editing the key which was created without env and CV
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Christine Fouant <cfouant>
WebUI sub component: Katello QA Contact: Sachin Ghai <sghai>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: bbuckingham, jmontleo, mmccune
Version: NightlyKeywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9790
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:22:56 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: 1188305    
Attachments:
Description Flags
newkey was created in screenshot without selecting enviornment and cv
none
'Library' env is checked, but no tool_tip_to_select_cv
none
expected way is here, tool_tip raised on control is on CV dropdown
none
tool_tip_is available now on changiing the env none

Description Sachin Ghai 2015-01-30 12:10:37 UTC
Created attachment 985959 [details]
newkey was created in screenshot without selecting enviornment and cv

Description of problem:
Firstly I can create activationkey without selecting env and content-view. Is it expected ? 

If its expected, I tried to update it. When I selected the environment from details tab, UI should raise a tool-tip for user to select the CV and control should transfer to CV drop-down,  which is not happening now automatically.

But when you select the env and CV from drop-down explicitly from details tab, then later you update again environment of key, UI will work as expected and will show tooltip and control will be moved to CV drop-down as well.


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


* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.38-1.el6.noarch
* candlepin-common-1.0.18-1.el6.noarch
* candlepin-selinux-0.9.38-1.el6.noarch
* candlepin-tomcat6-0.9.38-1.el6.noarch
* elasticsearch-0.90.10-7.el6.noarch
* foreman-1.8.0-0.develop.201501270025gite86494a.el6.noarch
* foreman-compute-1.8.0-0.develop.201501270025gite86494a.el6.noarch
* foreman-gce-1.8.0-0.develop.201501270025gite86494a.el6.noarch
* foreman-libvirt-1.8.0-0.develop.201501270025gite86494a.el6.noarch
* foreman-ovirt-1.8.0-0.develop.201501270025gite86494a.el6.noarch
* foreman-postgresql-1.8.0-0.develop.201501270025gite86494a.el6.noarch
* foreman-proxy-1.8.0-0.develop.201501261316git9ea2ac7.el6.noarch
* foreman-release-1.8.0-0.develop.201501270025gite86494a.el6.noarch
* foreman-selinux-1.8.0-0.develop.201412151103gite2863e4.el6.noarch
* foreman-vmware-1.8.0-0.develop.201501270025gite86494a.el6.noarch
* katello-2.1.0-1.201411061509gitb0b8f43.el6.noarch
* katello-certs-tools-2.0.1-1.el6.noarch
* katello-default-ca-1.0-1.noarch
* katello-installer-2.2.0-1.201501230914git3dbe606.el6.noarch
* katello-installer-base-2.2.0-1.201501230914git3dbe606.el6.noarch
* katello-repos-2.1.1-1.el6.noarch
* katello-server-ca-1.0-1.noarch
* openldap-2.4.39-8.el6.x86_64
* pulp-docker-plugins-0.2.1-0.2.beta.el6.noarch
* pulp-katello-0.3-3.el6.noarch
* pulp-nodes-common-2.5.1-1.el6.noarch
* pulp-nodes-parent-2.5.1-1.el6.noarch
* pulp-puppet-plugins-2.5.1-1.el6.noarch
* pulp-puppet-tools-2.5.1-1.el6.noarch
* pulp-rpm-plugins-2.5.1-1.el6.noarch
* pulp-selinux-2.5.1-1.el6.noarch
* pulp-server-2.5.1-1.el6.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-ldap_fluff-0.3.3-1.el6.noarch
* ruby193-rubygem-net-ldap-0.10.0-1.el6.noarch
* ruby193-rubygem-runcible-1.3.0-1.el6.noarch
* rubygem-hammer_cli-0.1.4-1.201501260908gitf44b8c5.el6.noarch
* rubygem-hammer_cli_foreman-0.1.4-1.201501221305git706b057.el6.noarch
* rubygem-hammer_cli_foreman_bootdisk-0.1.2-1.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. create an activation-key with just name( without selecting environment and CV)
2. once key is created, edit its env from details tab
3.

Actual results:


Expected results:
UI should raise tool-tip to select CV on env selection, while editing the key which was created without env and CV

Additional info:

Comment 1 Sachin Ghai 2015-01-30 12:12:31 UTC
Created attachment 985960 [details]
'Library' env is checked, but no tool_tip_to_select_cv

Comment 2 Sachin Ghai 2015-01-30 12:14:33 UTC
Created attachment 985961 [details]
expected way is here, tool_tip raised on control is on CV dropdown

Comment 3 RHEL Program Management 2015-01-30 12:23:27 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 6 Mike McCune 2015-03-12 22:43:44 UTC
This is in no way a Regression, a Blocker or severity High. 6.0.8 has the same behaviour

Moving to medium and clearing the above flags.

Comment 7 Christine Fouant 2015-03-16 19:30:15 UTC
Created redmine issue http://projects.theforeman.org/issues/9790 from this bug

Comment 8 Bryan Kearney 2015-03-17 16:04:46 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9790 has been closed
-------------
Christine Fouant
Applied in changeset commit:katello|c86a6ab9c308091dea335f8bff68720770420a85.

Comment 11 Sachin Ghai 2015-04-02 12:55:06 UTC
Verified with sat6.1 beta snap9 (Satellite-6.1.0-RHEL-6-20150331.1).. I can see the tooltip to select cv while editing the activation-key. Please see the screen shot for verification.

Comment 12 Sachin Ghai 2015-04-02 12:56:49 UTC
Created attachment 1010153 [details]
tool_tip_is available now on changiing the env

Comment 13 Bryan Kearney 2015-08-11 13:28:48 UTC
This bug is slated to be released with Satellite 6.1.

Comment 14 errata-xmlrpc 2015-08-12 05:22:56 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/RHSA-2015:1592