Bug 1263342

Summary: Subscription table doesn't show quantities of -1 as Unlimited
Product: Red Hat Quickstart Cloud Installer Reporter: Matt Reid <mreid>
Component: WebUIAssignee: jmagen <jmagen>
Status: CLOSED ERRATA QA Contact: Antonin Pagac <apagac>
Severity: high Docs Contact:
Priority: high    
Version: 1.0CC: apagac, jmatthew, nperic, smallamp, tcarlin, tsanders
Target Milestone: gaKeywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-13 16:22:02 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: 1321046    

Description Matt Reid 2015-09-15 15:14:19 UTC
Description of problem:
The subscription table on step 4C looks like it shows the raw information we get from the API call, which I believe uses a -1 to indicate Unlimited. We should catch those and replace -1 with Unlimited to make more sense for end users.

Version-Release number of selected component (if applicable):
Tech Preview


Additional info:

Comment 1 jmagen@redhat.com 2015-10-15 06:52:33 UTC
Matt, please explain more. If subscriptions available are "4 of 50" are you saying it shows "4 of -1" when it should be "4 of unlimited"

Comment 3 jmagen@redhat.com 2015-11-17 12:26:50 UTC
fixed
https://github.com/fusor/fusor/pull/471

Comment 4 Thom Carlin 2016-02-15 11:12:55 UTC
In TP2 RC9, displays: Consumed 0 out of Unlimited in Content > Red Hat Subscription

Comment 5 Thom Carlin 2016-02-15 11:58:36 UTC
4C shows: x out of y under Available

Comment 9 jmagen@redhat.com 2016-04-27 11:24:30 UTC
This was fixed in November 2015 by 
https://github.com/fusor/fusor/commit/0c81cb11ae28dd7fa1f1235a3dd1ee1a2a4702a7

Please verify.

Comment 11 jmagen@redhat.com 2016-07-05 14:02:50 UTC
Antonin, I created a new PR https://github.com/fusor/fusor/pull/1003 which should fix the problem. Please check.

Comment 12 John Matthews 2016-07-18 21:12:05 UTC
QCI-1.2-RHEL-7-20160718.t.0

Comment 17 Antonin Pagac 2016-08-11 10:08:45 UTC
Verified in 20160809.t.1

Comment 19 errata-xmlrpc 2016-09-13 16:22:02 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.

https://access.redhat.com/errata/RHEA-2016:1862