Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1330021

Summary: Initial-setup : no error message is thrown when user clicks on register button without entering credentials
Product: Red Hat Enterprise Linux 7 Reporter: Shwetha Kallesh <skallesh>
Component: subscription-managerAssignee: vritant <vrjain>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: low Docs Contact:
Priority: high    
Version: 7.3CC: redakkan, skallesh, vrjain
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.17.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 20:28:29 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:
Attachments:
Description Flags
No error message is thrown when login field is blank
none
RHSM spoke
none
No error message on activation-key register page as well
none
GUI error dialogue
none
"Need a login" message when user do not enter credentials
none
Activation Key info
none
RHSM Spoke none

Description Shwetha Kallesh 2016-04-25 10:00:22 UTC
Created attachment 1150337 [details]
No error message is thrown when login field is blank

Description of problem:
Initial-setup : no error message is thrown when user clicks on register button without entering credentials

Version-Release number of selected component (if applicable):
[root@dhcp35-180 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.0.10-1
subscription management rules: 5.20
subscription-manager: 1.17.5-1.git.0.9f499d8.el7
python-rhsm: 1.17.1-1.git.1.323232f.el7


How reproducible:


Steps to Reproduce:
1. [root@dhcp35-180 ~]# systemctl enable initial-setup-graphical.service 
Created symlink from /etc/systemd/system/graphical.target.wants/initial-setup-graphical.service to /usr/lib/systemd/system/initial-setup-graphical.service.
[root@dhcp35-180 ~]# reboot

2. Select register to RHSM option on initial-setup panel
3. Enter the server details --> next ---> do not enter the credentials ---> click on register button


Actual results:
No message is thrown to user

Expected results:
Message saying "Must enter a login" should be thrown to user

Same is the case with activation-key register page as well

Additional info:

If you click on register button without entering credentials and the click on done button at top right , a message under RHSM spoke saying "you must enter a login is displayed" , p.s attachment "RHSM spoke"

Comment 1 Shwetha Kallesh 2016-04-25 10:01:08 UTC
Created attachment 1150338 [details]
RHSM spoke

Comment 2 Shwetha Kallesh 2016-04-25 10:01:57 UTC
Created attachment 1150339 [details]
No error message on activation-key register page as well

Comment 6 Shwetha Kallesh 2016-04-26 07:38:57 UTC
Created attachment 1150754 [details]
GUI error dialogue

In GUI an error dialogue pops up

Comment 9 Shwetha Kallesh 2016-06-06 13:18:24 UTC
Created attachment 1165209 [details]
"Need a login" message when user do not enter credentials

Comment 10 Shwetha Kallesh 2016-06-06 13:19:37 UTC
Created attachment 1165211 [details]
Activation Key info

Comment 11 Shwetha Kallesh 2016-06-06 13:21:31 UTC
Created attachment 1165213 [details]
RHSM Spoke

Marking verified as there is a info being displayed to user

[root@dhcp35-45 ~]# rpm -qa | grep subscription-manager
subscription-manager-initial-setup-addon-1.17.7-1.el7.x86_64

Comment 13 errata-xmlrpc 2016-11-03 20:28:29 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://rhn.redhat.com/errata/RHSA-2016-2592.html