Bug 1747339 - Manifest refresh does not show newly attached subscriptions in Satellite GUI
Summary: Manifest refresh does not show newly attached subscriptions in Satellite GUI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.6.0
Assignee: John Mitsch
QA Contact: jcallaha
URL:
Whiteboard:
: 1738777 1750970 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-30 07:16 UTC by Ashfaqur Rahaman
Modified: 2019-10-22 19:47 UTC (History)
6 users (show)

Fixed In Version: rubygem-katello-3.12.0.25-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-22 19:47:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 26908 0 Normal Closed JS error when opening subscription group 2020-03-11 16:23:27 UTC

Comment 5 Barnaby Court 2019-09-12 14:04:20 UTC
Moving to subscription management component as the data in Candlepin is correct based on the hammer command.

Comment 6 Brad Buckingham 2019-09-13 14:24:53 UTC
I was able to reproduce this via:

scenario 1:
- imported a manifest (which is current)
- add a new allocation to an existing subscription (via the satellite ui)
- after the subscription was added, refresh the subscriptions page and click on the > next to the subscription

- observe a javascript error in the console - > Uncaught TypeError: Cannot read property 'toggleSubscriptionGroup' of undefined


scenario 2: (on a newly created install)
- imported the same manifest as the above (which now has additional subs not in the manifest file, but in portal)
- refresh the manifest to get those new subscriptions
- after refresh completed, refresh the subscriptions page and click on the > next to the subscription

- observe a javascript error in the console - > Uncaught TypeError: Cannot read property 'toggleSubscriptionGroup' of undefined

Note: I suspect this is the same issue as bug 1738777.

Comment 8 John Mitsch 2019-09-13 15:03:51 UTC
I linked up https://projects.theforeman.org/issues/26908/ for this issue since this was fixed upstream. The issue is seen on any toggled subscription group (you don't have to add/remove subs to see it). 

The one thing to be aware of is we are seeing the menus collapsing when checked https://projects.theforeman.org/issues/26954 upstream. This is an issue that shows up when this BZ's error is addressed and you can toggle subscriptions again. You could likely see this when this BZ is fixed in 6.6. It is an annoyance but does not block functionality. I didn't see 26954 (the collapsing menu issue) on a 6.5 box so it has regressed since then if it shows up in 6.6.

Let me know if you have any questions!

Comment 12 Jan Hutař 2019-09-16 06:39:47 UTC
*** Bug 1738777 has been marked as a duplicate of this bug. ***

Comment 13 jcallaha 2019-09-18 18:38:54 UTC
Verified in Satellite 6.6 Snap 22

After following the verification steps and refreshing the manifest, new subscriptions were shown.

See attached video for verification.

Comment 15 Brad Buckingham 2019-09-26 20:19:48 UTC
*** Bug 1750970 has been marked as a duplicate of this bug. ***

Comment 16 Bryan Kearney 2019-10-22 19:47:31 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-2019:3172


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