Bug 1395664 - Firstboot : Exception occurs when you click on register button without entering credentials
Summary: Firstboot : Exception occurs when you click on register button without enteri...
Keywords:
Status: CLOSED DUPLICATE of bug 1395662
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.9
Hardware: Unspecified
OS: Unspecified
urgent
low
Target Milestone: rc
: ---
Assignee: Chris Snyder
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-16 11:45 UTC by Shwetha Kallesh
Modified: 2016-11-21 19:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-21 19:13:06 UTC
Target Upstream Version:


Attachments (Terms of Use)
Exception while trying to register without entering any credentials (234.88 KB, image/png)
2016-11-16 11:45 UTC, Shwetha Kallesh
no flags Details

Description Shwetha Kallesh 2016-11-16 11:45:58 UTC
Created attachment 1221111 [details]
Exception while trying to register without entering any credentials

Description of problem:
Firstboot : Exception occurs when you click on register button without entering credentials

Version-Release number of selected component (if applicable):
[root@dhcp35-179 ~]# rpm -qa | grep firstboot
subscription-manager-firstboot-1.18.4-1.el6.x86_64
firstboot-1.110.15-4.el6.x86_64

How reproducible:


Steps to Reproduce:
1.launch firstboot
2.Accept license agreement --> in Setup Software update screen , select , yes I would like to register and click on forward button -----> In choose service page click on forward button

3.In Subscription-management registration page ----> Do not Select "I will use Activation key", click on forward  ------->  Do not enter any values in username and passowrd fields , just click on forward button

Actual results:
Exception is thrown

Actual results:
A message saying "You must enter Username"

Expected results:


Additional info:

Comment 4 Chris Snyder 2016-11-21 18:48:51 UTC
Relevant traceback from reproduction:

firstboot 1.110.15 exception report
Traceback (most recent call last):
  File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 226, in on_register_error
    self.handle_register_exception(obj, msg, exc_list)
  File "/usr/share/rhn/up2date_client/firstboot/rhsm_login.py", line 240, in handle_register_exception
    if isinstance(exc_info[1], registergui.RemoteUnregisterException):
TypeError: 'MessageType' object does not support indexing

Local variables in innermost frame:
msg: You must enter a login.
exc_info: <enum GTK_MESSAGE_ERROR of type GtkMessageType>
self: <rhsm_login.moduleClass object at 0x15b5810>
obj: <FirstbootWidget object at 0x1aca050 (FirstbootWidget at 0x1a4e160)>

Comment 5 Chris Snyder 2016-11-21 19:13:06 UTC
As it seems this bug has the same root cause (and indeed the same fix at least in my testing) as bug 1395662, I am closing this bug as a duplicate of that one.

*** This bug has been marked as a duplicate of bug 1395662 ***


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