Bug 666942

Summary: Subscription Screen shows SKU instead of contract number.
Product: Red Hat Enterprise Linux 6 Reporter: J.C. Molet <jmolet>
Component: subscription-managerAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: J.C. Molet <jmolet>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: bkearney
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: 2011-05-19 13:38:28 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: 639436    

Description J.C. Molet 2011-01-03 19:19:11 UTC
Description of problem:
When you click the subscribe button on a subscription with multiple contracts, the SKU is shown in the "contract number" column instead of the actual contract number.


Version-Release number of selected component (if applicable):
subscription-manager-0.93.8-1.git.15.dfe034e.el6.x86_64
subscription-manager-gnome-0.93.8-1.git.15.dfe034e.el6.x86_64

Steps to Reproduce:
1. set up subscription-manager-gnome and all of its deps on a rhel6 system
2. register rhsm (I used the xeops user on candlepin1.devlab.phx1.redhat.com for example, also works against on-premises server)
3. Go to the "all available subscriptions" tab and perform a search to display subscriptions.
4. Select a subscription with more than 1 total contracts, and click subscribe.
  
Actual results:
The 'contract number' column is populated with the SKU for that contract.

Expected results:
The 'contract number' column is populated with the contract number for that contract.

Additional info:
This could be the correct behavior, except that the column name should be changed to "SKU" in that case.

Comment 1 Bryan Kearney 2011-01-04 15:28:27 UTC
Fixed in 77b25033f8c1201e9992fab212574aa032120a08.

Comment 3 J.C. Molet 2011-01-04 17:50:04 UTC
This is now working


subscription-manager-firstboot-0.93.9-1.git.9.b0e1bbf.el6.x86_64
subscription-manager-0.93.9-1.git.9.b0e1bbf.el6.x86_64
subscription-manager-gnome-0.93.9-1.git.9.b0e1bbf.el6.x86_64

Comment 4 errata-xmlrpc 2011-05-19 13:38:28 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0611.html