Bug 845043 - service level should not display duplicates
Summary: service level should not display duplicates
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Bryan Kearney
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: 771748
TreeView+ depends on / blocked
 
Reported: 2012-08-01 15:12 UTC by Sharath Dwaral
Modified: 2015-05-14 16:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 16:19:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Sharath Dwaral 2012-08-01 15:12:28 UTC
Description of problem:
Service level duplicates are listed

Version-Release number of selected component (if applicable):
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-gui-1.0.11-1.git.3.b3c4a8b.el5
subscription-manager-1.0.11-1.git.3.b3c4a8b.el5
subscription-manager-migration-data-1.11.2.2-1.git.2.c3c8e22.el5
python-rhsm-1.0.4-1.git.6.19a55da.el5
subscription-manager-firstboot-1.0.11-1.git.3.b3c4a8b.el5
subscription-manager-migration-1.0.11-1.git.3.b3c4a8b.el5


How reproducible:
Always

Steps to Reproduce:

# subscription-manager register
Username: qa
Password: 
The system has been registered with id: dc417336-53ca-4408-8515-3c87647038f7 

# subscription-manager service-level --list
+-------------------------------------------+
               Available Service Levels
+-------------------------------------------+
SELF-SUPPORT
Standard
STANDARD
None
Premium

  
Actual results:
Shown Above

Expected results:
Should not display duplicates. The output should be:

SELF-SUPPORT
STANDARD
NONE
PREMIUM

Additional info:

Please undo this commit 665c701b26d39fdca04c504886ee2c77b11fb895

Comment 2 Bryan Kearney 2012-08-16 16:19:59 UTC
This would be GIGO from the IT group, not gonna fix this.

Comment 3 John Sefler 2012-08-22 13:22:41 UTC
(In reply to comment #2)
> This would be GIGO from the IT group, not gonna fix this.
While GIGO from the IT group may actually be true.  This issue has been fixed (twice I believe): once be wpoteat who normalized all service levels to uppercase on candlepin, and once by jbowes who did something to effectively make a first-in service level win when a subsequent case-insensitive service level match is encountered.


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