Bug 853035 - At firstboot, it goes to the wrong page when click "Back" button in the Create User page
Summary: At firstboot, it goes to the wrong page when click "Back" button in the Creat...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Devan Goodwin
QA Contact: Entitlement Bugs
URL:
Whiteboard:
: 834393 (view as bug list)
Depends On:
Blocks: 771748
TreeView+ depends on / blocked
 
Reported: 2012-08-30 10:21 UTC by xingge
Modified: 2016-09-20 02:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 04:02:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
click "Forward" button when in the registering spin page (120.04 KB, image/png)
2012-08-30 10:24 UTC, xingge
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0033 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-01-08 08:38:27 UTC

Description xingge 2012-08-30 10:21:50 UTC
Description of problem:
At firstboot, it goes to the wrong page when click "Back" button in the Create User page

Version-Release number of selected component (if applicable):
subscription-manager-firstboot-1.0.14-1.el5
firstboot-1.4.27.9-1.el5
firstboot-tui-1.4.27.9-1.el5

How reproducible:
always

Steps to Reproduce:
1. go to the firstboot progress, you can use a new installed system or follow the below steps
1.1 open the file: /etc/sysconfig/firstboot, then change the option "RUN_FIRSTBOOT" from "NO" to "YES"
1.2 reboot the system
2. click "Forward" button utill the "Choose Service" page shows
3. select the option 'Red Hat Subscription Management' and click "Forward"
4. input the stage candlepin server url: subscription.rhn.stage.redhat.com:443/subscription, then click "Forward"
5. input a valid username and password, and make sure the "Manually assign subscriptions after registration" is not selected, then click "Forward"
6. wait for the Registering spin over and goes to the subscription select page.
7. click "Forward" to auto subscribe a subscription, after the registering spin page, the Create User page should show.
8. click "Back" button. the Registering spin page should show.
  
Actual results:
After above step 7, there are issues happen to the registering spin page,as below:
the "Back" and "Forward" button do not turn gray, so that they still can be clicked, at this page:
If click the "Back" button, it will go back to "Choose Service" page, not the choose subscription page as RHEL6.3 will go.
If click the "Forward" button, an error message window will show, click OK to close the message window, it will go to the "Create User" page.  
If not touch the two buttons, it will stay at the Registing spin page forever.


Expected results:
after above step 8, it should back in to the choose subscription page as RHEL6.3 will go

Additional info:

Comment 1 xingge 2012-08-30 10:24:54 UTC
Created attachment 608142 [details]
click "Forward" button when in the registering spin page

Comment 2 RHEL Program Management 2012-08-30 10:27:16 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 Devan Goodwin 2012-09-26 11:22:44 UTC
Fixed in subscription-manager.git master: b775af3efa5766714f2627fd62e614ad4f7a9156

awood will cherry-pick over into 5.9 branch.

Fixed by resetting the screens properly when leaving the modul, and adjusting the code that cleans up the old registration when we try to register you again.

NOTE: bug report talks about RHEL6 firstboot back button taking you to "Choose Subscription", this does not appear to be the actual behaviour, rather you should end up back at the Choose Server screen where you enter the certificate based server to use.

Comment 6 Adrian Likins 2012-10-03 21:09:13 UTC
*** Bug 834393 has been marked as a duplicate of this bug. ***

Comment 7 John Sefler 2012-10-08 22:02:06 UTC
Verifying Version...
[root@jsefler-rhel59 ~]# rpm -q subscription-manager-firstboot firstboot
subscription-manager-firstboot-1.0.21-1.el5
firstboot-1.4.27.9-1.el5


(In reply to comment #0)
  
> Actual results:
> After above step 7, there are issues happen to the registering spin page,as below:
> the "Back" and "Forward" button do not turn gray, so that they still can be clicked, at this page:

The Back and Forward buttons are now diabled while the spinners are actively registering and attaching subscriptions.

> If click the "Back" button, it will go back to "Choose Service" page, not
> the choose subscription page as RHEL6.3 will go.

Clicking Back from the "Create User" panel will navigate the user all the way back to the server url specification panel "I will register with:".  Although this goes back more than one panel, this is the a reasonable landing to re-visit the certificate-based registration. 


> If click the "Forward" button, an error message window will show, click OK
> to close the message window, it will go to the "Create User" page.  
> If not touch the two buttons, it will stay at the Registing spin page
> forever.

Can no longer reproduce this error now that the Forward button is disabled while the autosubscribe spinners panel is displayed.


Moving to VERIFIED

Comment 9 errata-xmlrpc 2013-01-08 04:02:34 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.

http://rhn.redhat.com/errata/RHBA-2013-0033.html


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