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 1243704 - Cancel button of initial-setup doesnot work at all
Summary: Cancel button of initial-setup doesnot work at all
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
: 1243708 1243719 1248164 (view as bug list)
Depends On:
Blocks: 1246123 1246125 1259988
TreeView+ depends on / blocked
 
Reported: 2015-07-16 06:29 UTC by Shwetha Kallesh
Modified: 2015-11-19 11:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 11:49:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
After registering in subscription-manager-gui, the Cancel/Back/Next buttons are now removed (24.45 KB, image/png)
2015-09-01 21:08 UTC, John Sefler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1243707 0 medium CLOSED Rename cancel button of initial-setup "Back" in the dialogue where you are supposed to enter your redhat credentials 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1257179 0 medium CLOSED subscription-manager-initial-setup-addon - "Cancel" button does nothing 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2015:2122 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2015-11-19 10:31:14 UTC

Internal Links: 1243707 1257179

Description Shwetha Kallesh 2015-07-16 06:29:16 UTC
Description of problem:
Cancel button of initial-setup doesnot work at all

Version-Release number of selected component (if applicable):
[root@dhcp35-106 ~]# rpm -qa | grep subscription-manager
subscription-manager-plugin-container-1.15.7-1.git.2.f23fe17.el7.x86_64
subscription-manager-migration-data-2.0.22-1.git.0.4260892.el7.noarch
subscription-manager-initial-setup-addon-1.15.7-1.git.2.f23fe17.el7.x86_64
subscription-manager-gui-1.15.7-1.git.2.f23fe17.el7.x86_64
subscription-manager-plugin-ostree-1.15.7-1.git.2.f23fe17.el7.x86_64
subscription-manager-1.15.7-1.git.2.f23fe17.el7.x86_64
subscription-manager-migration-1.15.7-1.git.2.f23fe17.el7.x86_64


How reproducible:


Steps to Reproduce:

[root@dhcp35-106 ~]# 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-106 ~]# reboot
PolicyKit daemon disconnected from the bus.
We are no longer a registered authentication agent.
Connection to 10.70.35.106 closed by remote host.
Connection to 10.70.35.106 closed.

after reboot initial-setup --> select Register to subscription-manager -----> enter the server details,click next--->Enter the credentials to register ---> select the service-level and then press cancel button

Actual results:
Nothing happens

Expected results:
 I believe the process of attaching subscriptions should be cancelled as it happens in GUI

Additional info:

Comment 2 Shwetha Kallesh 2015-07-21 15:21:49 UTC
Also user should be asked if he wants to cancel with a nag dialogue saying "Are you sure you want to cancel?"  if he accidentally clicks on DONE button at right top corner of the initial-setup panel

Comment 3 Adrian Likins 2015-07-30 14:04:38 UTC
*** Bug 1243719 has been marked as a duplicate of this bug. ***

Comment 4 Adrian Likins 2015-07-30 14:04:49 UTC
*** Bug 1248164 has been marked as a duplicate of this bug. ***

Comment 5 Adrian Likins 2015-07-30 14:05:56 UTC
pr at https://github.com/candlepin/subscription-manager/pull/1238

Comment 6 Chris "Ceiu" Rog 2015-08-06 14:45:55 UTC
commit 21fcc5b210949bd0721f0148449587c088cba61b
Author: Adrian Likins <alikins>
Date:   Thu Jul 30 09:42:38 2015 -0400

    1243704: Goto error screen on 'cancel'
    
    For initial-setup, error screen is also the choose server
    screen.
    
    If we finish, and are "done", hide the cancel and register
    buttons.

Comment 7 Chris "Ceiu" Rog 2015-09-01 21:00:49 UTC
*** Bug 1243708 has been marked as a duplicate of this bug. ***

Comment 8 John Sefler 2015-09-01 21:08:50 UTC
Created attachment 1069203 [details]
After registering in subscription-manager-gui, the Cancel/Back/Next buttons are now removed

[root@jsefler-7 ~]# rpm -q subscription-manager-initial-setup-addon 
subscription-manager-initial-setup-addon-1.15.9-6.el7.x86_64

With this ^ version of subscription-manager-initial-setup-addon, the buttons in the lower right corner of the panels have been removed (as expected).  The user should now press "Done" at the top of the initial-setup tool to return to the initial-setup spokes.

Comment 10 John Sefler 2015-09-01 21:20:35 UTC
The Cancel button on the Select Service level panel is also working on subscription-manager-initial-setup-addon-1.15.9-6.el7.x86_64

Comment 11 John Sefler 2015-09-18 17:28:22 UTC
Verifying Version...
[root@jsefler-7 ~]# rpm -q subscription-manager-initial-setup-addon
subscription-manager-initial-setup-addon-1.15.9-10.el7.x86_64

The Cancel button is now working when clicked during progression through the initial-setup registration panels.  When clicked, it will navigate the workflow back to the first panel of the registration workflow.

If on the first panel of the initial-setup registration workflow, the Cancel button currently does nothing (see bug 1257179). Alternatively on the first panel of the initial-setup registration workflow, click the "Done" button at the top of the page.

If at the end of the registration workflow, the Cancel button has been removed as described in comment 8 which provides a solution to this bug 1243704.

Moving this bug to VERIFIED

Note: the suggestion in comment 2 was not implemented.

Comment 12 errata-xmlrpc 2015-11-19 11:49:21 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-2015-2122.html


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