Red Hat Bugzilla – Bug 740748
Subscribe button in Subscription Assistant should be disabled when no subscription is selected
Last modified: 2015-05-14 11:31:22 EDT
Description of problem:
After registering, subscribe button in Subscription Assistant can still be clicked when no subscription is selected.
Version-Release number of selected component (if applicable):
candlepin (stage env)
Steps to Reproduce:
1.register to stage using stage_test_2/redhat
3.click "Update Certificates" and the Subscription Assistant dialog pops up.
4.check product "Red Hat Enterprise Linux 6 Server" and select its available subscription, then click subscribe button.
5.click subscribe button again.
Subscribe button can be clicked even if no subscription is selected.
The terminal prints error message as follows.
Traceback (most recent call last):
File "/usr/share/rhsm/subscription_manager/gui/subscription_assistant.py", line 554, in subscribe_button_clicked
pool_id = model.get_value(tree_iter, self.subscriptions_store['pool_id'])
TypeError: iter must be a GtkTreeIter
Subscribe button should be disabled.
Created attachment 524551 [details]
Subscribe button in Subscription Assistant isn't disabled when no subscription is selected
*** This bug has been marked as a duplicate of bug 740831 ***