Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1625205 - Subscription Details switcher items are not filtered by organization
Summary: Subscription Details switcher items are not filtered by organization
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.4.0
Assignee: Amir
QA Contact: Mirek Długosz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-04 11:41 UTC by Mirek Długosz
Modified: 2020-06-29 09:47 UTC (History)
2 users (show)

Fixed In Version: tfm-rubygem-katello-3.7.0.26-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 19:23:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot showing problem (107.41 KB, image/png)
2018-09-04 11:41 UTC, Mirek Długosz
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24822 0 Normal Closed Subscription Details switcher items are not filtered by organization 2020-06-29 09:45:24 UTC

Description Mirek Długosz 2018-09-04 11:41:30 UTC
Created attachment 1480750 [details]
Screenshot showing problem

On new Subscription details page, there is a switcher that allows to quickly jump to another subscription (without visiting page with list of all subscriptions in between). That switcher shows all subscriptions, including these from other organizations. See screenshot for list of subscriptions in organization and list of subscriptions available in switcher.

If the same subscription is available on two organizations, it will appear on switcher list twice - with no indication which one is from current org.

While user is able to see details of subscription from another organization, "Enabled Products" tab will display "No products are enabled." - even if there are products available.

On e.g. Subnets page, switcher displays only subnets from the same org. I believe that switcher usually shows only items from current organization and Subscriptions switcher behavior is exception.


Version-Release number of selected component (if applicable):
Satellite 6.4.0 snap 20
tfm-rubygem-katello-3.7.0.22-1.el7sat.noarch


Steps to Reproduce:
1. Create two organizations with different manifests and different products sets
2. Select one organization, Content -> Subscriptions -> any
3. Click icon with two arrows in breadcrumbs on top

Actual results:
List of subscriptions in switcher contains items from other organization, i.e. items that were not available on main Subscriptions list.

Comment 2 Mirek Długosz 2018-09-04 12:14:49 UTC
Switcher on pages available under /legacy_subscriptions/:id: URL displays only subscriptions from current org. Adding Regression tag.

Comment 3 Tomas Strachota 2018-09-05 10:47:43 UTC
Created redmine issue https://projects.theforeman.org/issues/24822 from this bug

Comment 4 Satellite Program 2018-09-06 14:02:38 UTC
Upstream bug assigned to afeferku

Comment 5 Satellite Program 2018-09-06 14:02:41 UTC
Upstream bug assigned to afeferku

Comment 6 Satellite Program 2018-09-07 16:02:46 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24822 has been resolved.

Comment 8 Mirek Długosz 2018-09-18 17:09:57 UTC
On Satellite 6.4 snap 22 (tfm-rubygem-katello-3.7.0.28-1) switcher displays subscriptions from current organization only.

Comment 9 Bryan Kearney 2018-10-16 19:23:10 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


Note You need to log in before you can comment on or make changes to this bug.