RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 854388 - Contract(s) Listing Update in My Installed Products Details Pane
Summary: Contract(s) Listing Update in My Installed Products Details Pane
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Shwetha Kallesh
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 771481 840993
TreeView+ depends on / blocked
 
Reported: 2012-09-04 21:08 UTC by Matt Reid
Modified: 2013-02-21 08:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-21 08:55:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Covered by contract (118.84 KB, image/png)
2012-12-17 06:32 UTC, Shwetha Kallesh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0350 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2013-02-20 20:53:35 UTC

Description Matt Reid 2012-09-04 21:08:06 UTC
Description of problem:
It would be nice if we got rid of our generic contract(s) string, and had unique strings for single contracts and multiple contracts. This is displayed in the My Installed Products tab, down in the Product's Subscription Details pane, in Certificate Status.

Current string:
"Covered by contract(s) [Contract Number] through [End Date]"

Desired string:
"Covered by contract [Contract Number] through [End Date]"
"Covered by contracts [Contract Number] and [Contract Number] through [earliest End Date]"
"Covered by contracts [Contract Number], [Contract Number] and [Contract Number] through [earliest End Date]"

Is it trivial to have the last contract (as long as there are 2+) be prefixed with an 'and' and have any subsequent ones use a comma?

Comment 1 Adrian Likins 2012-11-16 21:01:11 UTC
commit 23355b6c4e59f7000abace908b5225be99576c79
Author: Adrian Likins <alikins>
Date:   Fri Nov 16 14:38:39 2012 -0500

    854388: use ngettext to specify contract/contracts

Comment 2 Adrian Likins 2012-11-19 15:29:28 UTC
commit e995613e4057ff8b39dbd48d7979dc26ec18a02c
Author: William Poteat <wpoteat>
Date:   Sun Nov 18 19:17:37 2012 -0500

    854388: Make comma separated list include 'and'
    
    Replace the last comma with and to make proper grammar

Comment 4 Shwetha Kallesh 2012-12-17 06:32:10 UTC
Created attachment 664697 [details]
Covered by contract

Moving to verified!!

[root@rhel-64-server ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.7.21-1
subscription-manager: 1.1.15-1.el6
python-rhsm: 1.1.7-1.el6

Comment 6 errata-xmlrpc 2013-02-21 08:55:59 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-0350.html


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