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 837937

Summary: Product subscription details do not get refreshed
Product: Red Hat Enterprise Linux 5 Reporter: J.C. Molet <jmolet>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9CC: bkearney
Target Milestone: rc   
Target Release: 5.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-08 03:56:27 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:
Bug Depends On:    
Bug Blocks: 771748    
Attachments:
Description Flags
no refresh none

Description J.C. Molet 2012-07-05 21:01:15 UTC
Description of problem:
When browsing through the My Installed Product List in the gui, I noticed that the details values do not get refreshed if the product's .pem file does not have a value set for that detail.

Version-Release number of selected component (if applicable):
subscription-manager-gui-1.0.8-1.git.7.404dcd1.el5

How reproducible:
always

Steps to Reproduce:
1. Install/copy all the TESTDATA product pems from candlepin to /etc/pki/product/
2. Fire up subscription-manager-gui
3. click on any product that has a Arch set in its .pem (eg: Clustering Bits)
4. click on any product that does not have an arch set in its .pem (eg: Flexible Hypervisor(Premium Architectures-15-pack))
  
Actual results:
The Arch value for the product selected in step 3 is displayed for the product in step 4.

Expected results:
When selecting the product in step 4, the value is cleared.

Additional info:
I've shown this is happening for the arch field, but it turns out this happens FOR ALL of the details.  Try subscribing to "Awesome OS Server Bundled (2 Sockets, Standard Support)" after step 2 and try steps 3 and 4 using the examples.

Comment 1 J.C. Molet 2012-07-05 21:02:30 UTC
Created attachment 596502 [details]
no refresh

See attached screenshot.

Comment 2 RHEL Program Management 2012-07-05 21:07:04 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 William Poteat 2012-08-07 15:35:32 UTC
Tested against subscription-manager-1.0.12-1.git.32.6dc35a8.fc16.x86_64 using a product cert with [empty string] for the arch. It does not carry over the previous value.

Comment 5 J.C. Molet 2012-09-20 12:21:59 UTC
This is tested by automation in the check_version_arch test.

http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/view/Entitlement/job/jmolet-scratch/808/TestNG_Report/

Example run can be seen here, and that all tests for every product in the test data passes.  This run was tested against:

subscription-manager-gui-1.0.19-1.git.0.7c79e3b.el5

Marking Verified.

Comment 6 J.C. Molet 2012-09-20 12:41:04 UTC
Also verified this manually on brew build:


  subscription-manager-gui.x86_64 0:1.0.18-1.el5

Comment 8 errata-xmlrpc 2013-01-08 03:56:27 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-2013-0033.html