Bug 1268307 - At the end of auto attach, the Back button does nothing
At the end of auto attach, the Back button does nothing
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager (Show other bugs)
7.2
Unspecified Unspecified
medium Severity low
: rc
: ---
Assigned To: William Poteat
John Sefler
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-02 09:31 EDT by Sean Toner
Modified: 2016-11-03 16:27 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-03 16:27:31 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
The dialog box where the Back button does nothing (621.22 KB, image/png)
2015-10-02 09:33 EDT, Sean Toner
no flags Details
back_button (250.19 KB, image/png)
2016-07-19 05:44 EDT, Rehana
no flags Details
Back button is still enabled (282.70 KB, image/png)
2016-07-19 08:44 EDT, Shwetha Kallesh
no flags Details
Back button is still enabled (282.70 KB, image/png)
2016-07-21 10:26 EDT, Shwetha Kallesh
no flags Details
Back button disabled on Subscription Attachment workflow initiated by clicking Auto-attach (47.67 KB, image/png)
2016-07-21 14:43 EDT, John Sefler
no flags Details
Button is disabled for first panel of auto-attach (226.17 KB, image/png)
2016-07-22 01:28 EDT, Shwetha Kallesh
no flags Details

  None (edit)
Description Sean Toner 2015-10-02 09:31:05 EDT
Description of problem:
=======================

When a user is performing an Auto Attach, in the dialog to configm subscription attachment there is an Attach and Back button.  The Back button does nothing and could be confusing to users. 


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

[root@rh72-stoner-snap4 ~]# rpm -qa | grep subscription
subscription-manager-1.15.9-13.el7.x86_64
subscription-manager-gui-1.15.9-13.el7.x86_64
subscription-manager-initial-setup-addon-1.15.9-13.el7.x86_64


How reproducible:
=================

Always


Steps to Reproduce:
===================
1. Register a system (check the button to manually attach)
2. Click the Auto Attach button on the My Installed Products tab
3. In the subscription Attachment dialog, click the Back button


Actual results:
===============

Back button does nothing


Expected results:
=================

The Back button should probably not be displayed


Additional info:
Comment 1 Sean Toner 2015-10-02 09:33 EDT
Created attachment 1079437 [details]
The dialog box where the Back button does nothing
Comment 3 John Sefler 2015-10-02 10:46:26 EDT
deferring to rhel-7.3.0 due to severity and time schedule remaining for rhel-7.2.0
Comment 4 Adrian Likins 2015-10-02 15:46:10 EDT
Another variation of this:

If user clicks 'Auto attach', and only one SLA applies, they will
go immediately to 'Confirm Subscriptions', so it will then be the
first screen (and back will still be available).
Comment 7 Chris Snyder 2016-07-08 17:33:43 EDT
Correction Master Commit:

ea587429b223b554eefce0001ac722afd442e59a

Please ignore comment 6
Comment 9 Rehana 2016-07-19 05:43:03 EDT
Retested on ;
subscription-manager: 1.17.9-1.el7
python-rhsm: 1.17.5-1.el7


Observed that now the "back" button is disabled on the "confirm subscriptions" window ( PFA) 

Marking verified!!
Comment 10 Rehana 2016-07-19 05:44 EDT
Created attachment 1181539 [details]
back_button
Comment 11 Shwetha Kallesh 2016-07-19 08:44 EDT
Created attachment 1181619 [details]
Back button is still enabled

The button is still not disabled , hence moving bug to failed_qa
Need to wait for a minute for to see button enabled

-bash-4.2# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.17.9-1.el7
python-rhsm: 1.17.5-1.el7
Comment 12 William Poteat 2016-07-19 15:47:09 EDT
Not available until 1.17.9. Please check against this version.
Comment 13 William Poteat 2016-07-20 07:39:22 EDT
Sorry, comment #9 is wrong, I read the wrong version listing.

I looked at the scenarios, but I did not see the button show any time there was not a back option.

Please detail the steps you followed and what RHEL you were using.
Comment 14 Shwetha Kallesh 2016-07-21 10:26 EDT
Created attachment 1182538 [details]
Back button is still enabled

I am testing on RHEl7.3, with version 1.17.9-1.el7

I still see the back button , enabled and was able to go back upon clicking the back button . attached is the screen shot for the same
Comment 15 Shwetha Kallesh 2016-07-21 10:30:21 EDT
Forgot to add Steps:

Click Register button ----> enter server details ----> enter credentials ---> uncheck "Manually attach subscriptions" check box -----> if the multiple SLA are applicable , select one SLA ---> Subscription to be attached shows up and I see the back button enabled there
Comment 16 John Sefler 2016-07-21 14:43 EDT
Created attachment 1182646 [details]
Back button disabled on Subscription Attachment workflow initiated by clicking Auto-attach

(In reply to Shwetha Kallesh from comment #15)
> Forgot to add Steps:
> 
> Click Register button ----> enter server details ----> enter credentials
> ---> uncheck "Manually attach subscriptions" check box -----> if the
> multiple SLA are applicable , select one SLA ---> Subscription to be
> attached shows up and I see the back button enabled there

This observation is expected because this is a different use-case scenario.  When subscription-manager-gui is started on an unregistered system and the user follows Shwetha's steps and arrives at the "Subscription Attachment" dialog as part of the work flow that began with clicking Register, the Back button should be enbaled.  This is working in 1.17.9-1


The use-case scenario that was reported in comment 0 of this bug begins with a system that has already been registered.  Then the user follows the steps...

Click Auto-attach button ----> if the multiple SLA are applicable a "Subscription Attachment" dialog opens asking the user to select one SLA ---> On this dialog the Back button should be disabled (as shown/verified in attachment 1181539 [details] and the attachment for this comment)
Comment 18 Shwetha Kallesh 2016-07-22 01:28 EDT
Created attachment 1182704 [details]
Button is disabled for first panel of auto-attach

Marking bug as verified!!

[root@dhcp35-212 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.15-1
subscription management rules: 5.15.1
subscription-manager: 1.17.9-1.el7
python-rhsm: 1.17.5-1.el7
Comment 20 errata-xmlrpc 2016-11-03 16:27:31 EDT
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

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