Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 736385

Summary: Subscription Assistant: Subscribe button is active when there is no selected subscription.
Product: Red Hat Enterprise Linux 6 Reporter: Michael Stead <mstead>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: jsefler, skallesh
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 12:56:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 738066, 756082    
Attachments:
Description Flags
subscription-assistant none

Description Michael Stead 2011-09-07 14:57:31 UTC
Description of problem:
Subscribe button remains active when there is no subscription selected. 

Version-Release number of selected component (if applicable):
subscription-manager-firstboot-0.96.8-1.git.22.6521906.el6.x86_64
subscription-manager-debuginfo-0.96.8-1.git.22.6521906.el6.x86_64
subscription-manager-gnome-0.96.8-1.git.22.6521906.el6.x86_64
subscription-manager-0.96.8-1.git.22.6521906.el6.x86_64

How reproducible:
always

Steps to Reproduce:
There are two ways this can be reproduced. They are slightly different and both should be addressed.

First:
1) Open Subscription Assistant
2) Click Check all - Ensure there are multiple subscriptions to choose from
3) Select a subscription
4) CTRL-click to unselect it.
5) Subscribe button remains active.

Second:
1) Open Subscription Assistant
2) Click Check all - Ensure there are multiple subscriptions to choose from
3) Select a subscription and click subscribe.
4) Notice there are no subscriptions selected, but the 'Subscribe' button remains active.
  
Actual results:
In both cases, the 'Subscribe' button remains active. Clicking it produces the following error in log file.

Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/gui/subscription_assistant.py", line 553, in subscribe_button_clicked
    pool_id = model.get_value(tree_iter, self.subscriptions_store['pool_id'])
TypeError: iter must be a GtkTreeIter


Expected results:
Subscribe button should not be active unless there is a subscription selected.

Additional info:

Comment 5 Shwetha Kallesh 2012-03-02 07:56:18 UTC
Moving the bug to verified.

details in the attachment.

RPM used:

[root@dhcp201-162 rhsm]# rpm -qa | grep subscription-manager
subscription-manager-firstboot-0.99.8-1.git.14.9d78e7f.el6.x86_64
subscription-manager-migration-data-1.12.1-1.git.4.7b6cf92.el6.noarch
subscription-manager-gnome-0.99.8-1.git.14.9d78e7f.el6.x86_64
subscription-manager-debuginfo-0.99.8-1.el6.x86_64
subscription-manager-0.99.8-1.git.14.9d78e7f.el6.x86_64
subscription-manager-migration-0.99.8-1.git.14.9d78e7f.el6.x86_64

Comment 6 Shwetha Kallesh 2012-03-02 07:57:16 UTC
Created attachment 567001 [details]
subscription-assistant

Comment 8 errata-xmlrpc 2012-06-20 12:56:39 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-2012-0804.html