Bug 1311935 - Unhandled exception on firstboot registration screen when tried to "Forward" with out giving the account details
Summary: Unhandled exception on firstboot registration screen when tried to "Forward" ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Chris Snyder
QA Contact: John Sefler
URL:
Whiteboard:
: 1312269 1312271 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-25 11:15 UTC by Rehana
Modified: 2016-05-10 20:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-10 20:40:45 UTC
Target Upstream Version:


Attachments (Terms of Use)
FirstbootException (277.87 KB, image/png)
2016-02-25 11:16 UTC, Rehana
no flags Details
NO unhandled Exception when you click on forward without entering credentials (231.10 KB, image/png)
2016-03-08 08:39 UTC, Shwetha Kallesh
no flags Details
No Exception when you click on forward without entering activation key details (215.10 KB, image/png)
2016-03-08 08:40 UTC, Shwetha Kallesh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0797 0 normal SHIPPED_LIVE python-rhsm and subscription-manager bug fix and enhancement update 2017-01-06 16:31:50 UTC

Description Rehana 2016-02-25 11:15:34 UTC
Description of problem:
Observed an unhandled exception when try to proceed the subscription-manager registration screen without entering the details. This issue appears to be a regression, on earlier build (subscription-manager-firstboot-1.16.8-2.el6.x86_64) it worked and displayed error message "you must enter a login" when tried the same scenario 

Version-Release number of selected component (if applicable):
subscription-manager-1.16.8-3.el6.x86_64
subscription-manager-migration-1.16.8-3.el6.x86_64
subscription-manager-firstboot-1.16.8-3.el6.x86_64
subscription-manager-gui-1.16.8-3.el6.x86_64
subscription-manager-migration-data-2.0.26-1.el6.noarch
python-rhsm-1.16.6-1.el6.x86_64

How reproducible:
3/3

Steps to Reproduce:
1.Installed latest subscription-manager packages
2.launch firstboot
3.Click Next, and choose "Yes, i would like to REgister " and continue server details page
4.Click "Next" on the Registration window with out providing the login details

Actual results:
Got a unhandled exception pop up (PFA) 

Expected results:
No exception, message "you must enter a login"  should be displayed

Additional info:

Comment 1 Rehana 2016-02-25 11:16:25 UTC
Created attachment 1130468 [details]
FirstbootException

Comment 4 Barnaby Court 2016-02-29 20:19:45 UTC
*** Bug 1312269 has been marked as a duplicate of this bug. ***

Comment 5 Barnaby Court 2016-02-29 20:21:48 UTC
*** Bug 1312271 has been marked as a duplicate of this bug. ***

Comment 6 Barnaby Court 2016-02-29 20:22:19 UTC
Also verify https://bugzilla.redhat.com/show_bug.cgi?id=1312271#c3

Comment 7 Chris Snyder 2016-02-29 22:31:41 UTC
In addition to the original bug, the issue described at https://bugzilla.redhat.com/show_bug.cgi?id=1312271#c3 is fixed in upstream master now that the above PR has been accepted.


Commit info for upstream master:

commit 236cbdf118c65bc6adf64dddeef596061f22400b
Author: Christopher Snyder <csnyder>
Date:   Thu Feb 25 11:51:06 2016 -0500

    1311935: Emits register-message instead of register-error for display of user errors

commit b4881ab68a034c124dfe1bdeee5d576419ce11b1
Author: Adrian Likins <alikins>
Date:   Thu Feb 25 12:50:01 2016 -0500

    1311935: Stylish fixups for firstboot fixes.

Comment 9 Shwetha Kallesh 2016-03-08 08:36:59 UTC
Marking Bug as verified as there are no exceptions being thrown when you click on forward button without entering credentials and a dialog pops up asking user to enter the credentials.Have attached screen shots confirming the same

[root@dhcp35-224 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.16.8-4.el6
python-rhsm: 1.16.6-1.el6

Comment 10 Shwetha Kallesh 2016-03-08 08:39:00 UTC
Created attachment 1134066 [details]
NO unhandled Exception when you click on forward without entering credentials

Comment 11 Shwetha Kallesh 2016-03-08 08:40:10 UTC
Created attachment 1134067 [details]
No Exception when you click on forward without entering activation key details

Comment 13 errata-xmlrpc 2016-05-10 20:40:45 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/RHBA-2016-0797.html


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