Bug 1228273

Summary: Subscription Details page is confusing in a multi-org context; should clear when switching between orgs
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: UncategorizedAssignee: Walden Raines <walden>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, bkearney, jcallaha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14108
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 08:52:25 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:

Description Corey Welton 2015-06-04 14:09:34 UTC
Description of problem:
When a user is viewing subscription details and then switches orgs, the subscriptions list on the left hand side changes accordingly, but the main view remains, showing details for the previously viewed subscription

Version-Release number of selected component (if applicable):
Compose 7

How reproducible:


Steps to Reproduce:
1.  Create two different orgs and import significantly different manifests into each.
2.  While context is set to Org1, Go to Content > Red Hat Subscriptions
3.  View details for one of the subscriptions ("x out of unlimited" or "x out of y", etc.)
4. While viewing subscription details, choose a different org from the context picker in the top left corner.
5.  View results

Actual results:
The left pane changes correctly, properly showing the subscriptions for the selected Org.  However, the Details window remains open, pointing to the previous subscription user was looking at before.

Expected results:
This is incredibly confusing; we shouldn't be seeing details irrelevant to an org after switching to it.  Yes, there are workarounds -- simply hitting the close button on the Content Details, or by selecting a new subscription from the left pane. 

Regardless, this (the subscription details view) should probably be cleared/deselected when switching org contexts.  

Additional info:

Comment 2 Walden Raines 2016-03-08 19:49:02 UTC
Created redmine issue http://projects.theforeman.org/issues/14108 from this bug

Comment 3 Walden Raines 2016-03-08 20:43:48 UTC
PR: https://github.com/Katello/bastion/pull/100

Comment 4 Bryan Kearney 2016-03-08 21:00:56 UTC
Upstream bug component is Uncategorized

Comment 5 Bryan Kearney 2016-03-09 01:01:03 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14108 has been closed
-------------
Walden Raines
Applied in changeset commit:bastion|d02f043727370728e77c1d240a583e1759baef0a.

Comment 6 jcallaha 2016-03-24 20:30:54 UTC
Verified in Satellite 6.2 Beta Snap 5.1. Context now shifts completely when switching orgs.

Comment 9 errata-xmlrpc 2016-07-27 08:52:25 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:1500