Bug 1597364

Summary: Main subscription placed at bottom of collapsed subscriptions
Product: Red Hat Satellite Reporter: jcallaha
Component: Subscription ManagementAssignee: Avi Sharvit <asharvit>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4CC: pcreech
Target Milestone: 6.4.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 19:06:28 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:
Attachments:
Description Flags
bad subscriptions none

Description jcallaha 2018-07-02 19:11:37 UTC
Created attachment 1456011 [details]
bad subscriptions

Description of problem:
When you have multiple subscriptions collapsed, as part of a group, the main subscription is not the top element. Instead, it is listed at the very bottom. This makes it seem as if there were no subscriptions consumed from the original, when looking at an uncollapsed list.

Version-Release number of selected component (if applicable):
Satellite 6.4 Snap 10

How reproducible:
Always

Steps to Reproduce:
1. Upload a manifest that contains a subscription that allows for guests.
2. Register at least two (preferably 10) hosts, consuming some of those subscriptions.
3. Go to the subscriptions page.

Actual results:
The top element of the collapsible subscriptions isn't the main subscription. Instead the main subscription is at the bottom or in the collapsed elements.

Expected results:
The main subscription is the top element shown, with its children collapsed below it.

Comment 2 Walden Raines 2018-07-09 13:07:02 UTC
Created redmine issue https://projects.theforeman.org/issues/24206 from this bug

Comment 3 Satellite Program 2018-07-09 22:12:29 UTC
Upstream bug assigned to asharvit

Comment 4 Satellite Program 2018-07-11 16:12:43 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/24206 has been resolved.

Comment 5 Peter Ondrejka 2018-07-17 10:15:10 UTC
Verified in Sat 6.4 snap 12, collapsed subscriptions are now ordered correctly

Comment 6 Bryan Kearney 2018-10-16 19:06:28 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/RHSA-2018:2927