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 847859

Summary: Bug with Expiring/Expired Highlights in My Subscription Tab Details Pane (not being cleared when viewing different subscriptions)
Product: Red Hat Enterprise Linux 5 Reporter: Matt Reid <mreid>
Component: subscription-managerAssignee: John Sefler <jsefler>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: awood, bkearney, jsefler
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: 2013-01-08 03:58:50 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
Highlight Incorrectly Showing on RH Employee Sub
none
Expiring Date Highlight Incorrectly Showing
none
toggling between subscriptions properly updates the highlighing on the "Start - End Date" details none

Description Matt Reid 2012-08-13 19:30:16 UTC
It doesn't seem like we clear the highlight applied within the Subscription Details pane for expiring/expired subscriptions when looking at different subscriptions.

You can recreate by:
1. attach 2 subscriptions, 1 longer one (like RH Employee), and 1 very short one, or something that will expire in the next few weeks (like a 30 day trial)
2. click on the RH employee sub, everything looks fine
3. click on the 30 day trial, you see the yellow highlight on the date field correctly applied, everything is normal
4. click back on the RH employee sub, it now has the yellow highlight on the date field, even though it's going to expire in ~9 years
5. if you unsubscribe from it, it will become unselected, and the table will no longer have anything selected, but you'll still see the yellow highlight applied to the details pane

I've been able to consistently make this happen on a 6.3 system using subscription-manager-1.0.13-1.git.14.28f8917.el6 and 5.9 using subscription-manager-1.0.13-1.git.17.4cafd7c.el5.

Comment 1 Matt Reid 2012-08-13 19:30:51 UTC
Created attachment 604080 [details]
Highlight Incorrectly Showing on RH Employee Sub

Comment 2 Matt Reid 2012-08-13 19:31:25 UTC
Created attachment 604081 [details]
Expiring Date Highlight Incorrectly Showing

Comment 3 Alex Wood 2012-08-22 15:07:48 UTC
commit f95181c71f876229c5c431ecd2d6c583850d9971
Refs: <origin/awood/847859>, awood/847859, subscription-manager-1.0.14-1-3-gf95~
Author:     Alex Wood <awood>
AuthorDate: Tue Aug 20 17:13:06 2013 -0400
Commit:     Alex Wood <awood>
CommitDate: Fri Aug 17 17:13:50 2012 -0400

    847859: Expiration highlighting was being set incorrectly.

Available in subscription-manager-1.0.15-1+

Comment 4 RHEL Program Management 2012-08-22 15:18:31 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 6 John Sefler 2012-10-09 19:28:08 UTC
Created attachment 624243 [details]
toggling between subscriptions properly updates the highlighing on the "Start - End Date" details


The screenshot shows that the yellow highlighting on the date details for an "about to expire" subscription will turn on/off as one toggles between the listed subscriptions.  This also works with the red highlighting on an "expired" subscription.

Moving to VERIFIED

Comment 8 errata-xmlrpc 2013-01-08 03:58:50 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