Bug 1316650

Summary: Dashboard - Current Subscription Totals widget calculates subscriptions incorrectly
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: DashboardAssignee: David Davis <daviddavis>
Status: CLOSED ERRATA QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, bkearney
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14299
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.26-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:28:59 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:
Attachments:
Description Flags
proof! none

Description sthirugn@redhat.com 2016-03-10 16:41:35 UTC
Description of problem:
Dashboard - Current Subscription Totals widget calculates subscriptions incorrectly

Version-Release number of selected component (if applicable):
Satellite 6.2.0-beta-snap3

How reproducible:
Always

Steps to Reproduce:
1. Upload a subscription which contains just 'Employee SKU'
2. Navigate to Dashboard -> Current Subscription Totals

Actual results:
Active subscriptions - 2

Expected results:
Active Subscriptions - 1

Additional info:
As per the irc conversation with dev, one theory is that the temporary subscriptions (like guest subscriptions) are automatically counted which is incorrect.

Comment 3 Partha Aji 2016-03-21 15:19:31 UTC
Created redmine issue http://projects.theforeman.org/issues/14299 from this bug

Comment 5 Bryan Kearney 2016-03-21 20:04:15 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14299 has been closed
-------------
David Davis
Applied in changeset commit:katello|44043748957d4a593148e63298faa7e7f529ef86.

Comment 6 Bryan Kearney 2016-06-23 20:10:33 UTC
Created attachment 1171738 [details]
proof!

Comment 8 Bryan Kearney 2016-07-27 11:28: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.

https://access.redhat.com/errata/RHBA-2016:1501