Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 833578

Summary: Subscription-Manager GUI: "Online Documentation" option under "Help" window tab does not show up an online document [ALL LANG]
Product: Red Hat Enterprise Linux 5 Reporter: Sharath Dwaral <fsharath>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED DUPLICATE QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 5.9CC: jgalipea
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 20:44:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sharath Dwaral 2012-06-19 19:52:18 UTC
Description of problem:
In subscription-manager GUI, when "Online Documentation" is clicked under "Help" window tab, nothing shows up. This is reproducible on all languages.

Version-Release number of selected component (if applicable):
RHEL 5.9
# rpm -qa | grep subscription-manager
subscription-manager-migration-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5
subscription-manager-gui-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-firstboot-1.0.4-1.git.0.0fe81f8.el5

How reproducible:
Always

Steps to Reproduce:
1. Open subscription-manager GUI  (subscribed or unsubscribed)
   #subscription-manager-gui      (with or without LANG option)
2. Click on HELP window tab
3. Click on online documentation
  
Actual results:
Nothing happens.

Trace:

Traceback (most recent call last):
  File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 449, in _online_docs_item_clicked
    webbrowser.open_new(self._get_online_doc_url())
  File "/usr/share/rhsm/subscription_manager/gui/managergui.py", line 477, in _get_online_doc_url
    if data.getcode() != 200:
AttributeError: addinfourl instance has no attribute 'getcode'


Expected results:
Should open an online document on the browser

Comment 2 RHEL Program Management 2012-06-19 20:28:20 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 3 Sharath Dwaral 2012-06-20 20:44:33 UTC

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