Bug #25113
closedSubscriptions details page does not handle Org switch correctly.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1635305
Description of problem:
I found this while verifying bz 1609817, It seems to be similar to that bug but happens when you select a specific subscription to view details, then try to switch the org.
Version-Release number of selected component (if applicable): 6.4 snap 25
How reproducible: Always
Steps to Reproduce:
--Flow 1--
1. Start with default org.
2. On subscriptions page select one of the subscription
3. Using the mast head org switcher, change to another org with different subscriptions.
Actual Results:
The details for the subscription still show. Clicking the enabled products tab shows it as empty.
See Screen recording here:
https://drive.google.com/open?id=1fdDT-LsEwNRioPON6eHaHICpz8kiFYOl
Expected results
User is directed to the main subscriptions page for the selected org.
--Flow 2--
1. Start with default org
2. On subscriptions page select one of the subscriptions
3. Using mast head org switcher, select "Any Organization"
Actual Results:
2 errors are displayed with message "Organization with id undefined not found"
See screen recording here:
https://drive.google.com/open?id=1baKSgSWnx6w-vZWQrU-or9v8ZCCyt3i5
Expected Results:
User is directed to org selection page.
Additional info:
I added the screen recordings to this folder, if you find additional examples please add upload them to this folder.
https://drive.google.com/drive/folders/1YnL3EJrZbVSePKTJ7ciBMojjxfpvWA9Z?usp=sharing