Bug 854916 - [RHSM GUI] Unsubscribe -Traceback- AttributeError:'Backend' object has no attribute 'consumer'.
Summary: [RHSM GUI] Unsubscribe -Traceback- AttributeError:'Backend' object has no att...
Keywords:
Status: CLOSED DUPLICATE of bug 851124
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.9
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-06 09:53 UTC by Lijun Li
Modified: 2012-09-07 02:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-07 02:58:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Unsubscribe -Traceback- AttributeError:'Backend' object has no attribute 'consumer' (58.22 KB, application/octet-stream)
2012-09-06 10:02 UTC, Lijun Li
no flags Details

Description Lijun Li 2012-09-06 09:53:37 UTC
Description of problem:
Unsubscribe -Traceback- AttributeError:'Backend' object has no attribute 'consumer'.

Version-Release number of selected component (if applicable):
subscription-manager-gui-1.0.14-1.el5.x86_64.rpm 


How reproducible:
100%

Steps to Reproduce:
1. Install os with latest RHEL5.9 Beta build
2. Run subscription-manager-gui from Terminal
3. Register the system using RHN account and password.
4. Subscribe to a subscription.
5. Unsubscribe from the subscription by clicking 'Unsubscribe' in 'My Subscriptions' tab.
5. Click "Yes" on the "Are you sure..." dialog.
  
Actual results:
Unsubscribe -Traceback- AttributeError:'Backend' object has no attribute 'consumer'.

Expected results:
Should have no traceback and can unsubscribe successfully.

Additional info:

Comment 1 Lijun Li 2012-09-06 09:58:14 UTC
en_US issue, please refer to the attachd screenshot and traceback logs.

Comment 2 Lijun Li 2012-09-06 10:00:49 UTC
[testqa@localhost ~]$ subscription-manager-gui 
Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/gui/mysubstab.py", line 127, in _on_unsubscribe_prompt_response
    if self.backend.is_registered():
  File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 151, in is_registered
    return self.consumer.is_valid()
AttributeError: 'Backend' object has no attribute 'consumer'

Comment 3 Lijun Li 2012-09-06 10:02:11 UTC
Created attachment 610243 [details]
Unsubscribe -Traceback- AttributeError:'Backend' object has no attribute 'consumer'

Comment 4 RHEL Program Management 2012-09-06 10:11:22 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 5 Li Bin Liu 2012-09-07 02:58:40 UTC

*** This bug has been marked as a duplicate of bug 851124 ***


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