Bug 1738777

Summary: when I have more buckets of of one subscription, I'm unable to unfold them in Content -> Subscriptions
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: Subscription ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedKeywords: Regression
Target Milestone: Unspecified   
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: 2019-09-16 06:39:47 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
I'm talking about this arrow - screenshot none

Description Jan Hutař 2019-08-08 07:00:49 UTC
Description of problem:
when I have more buckets (or "contracts"? sorry, I do not have right terminology) of of one subscription, I'm unable to unfold them in Content -> Subscriptions


Version-Release number of selected component (if applicable):
satellite-6.6.0-5.beta.el7sat.noarch
katello-3.12.0-1.el7sat.noarch
candlepin-2.6.8-1.el7sat.noarch
(this is 6.6 snap #13)


How reproducible:
always


Steps to Reproduce:
1. I had a organization with manifest with only this:
    10 x Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes) (i.e. RH00003)
2. When I consumed all of these, I went to Content -> Subscriptions -> Add Subscription, found same subscription and added 40 more
3. Then I went to Content -> Subscriptions and still there was "Entitlements: 10" for that subscription and clicking at little arrow next to subscription name was not doing anything.
4. So I refreshed manifest in Content -> Subscriptions -> Manage Manifest -> Refresh (but this is probably not needed to reproduce)
5. Now, click arrow next to subscription name on Content -> Subscriptions to unfold all the buckets of the subscription


Actual results:
Nothing happens. If I open a browser's console, I can see this error when clicking that arrow:

TypeError: (void 0) is undefined katello-fb73eba477a0f65e4cad.js:1:296857
    toggle katello-fb73eba477a0f65e4cad.js:1
    onClick katello-fb73eba477a0f65e4cad.js:1
    React 12
        h
        h
        j
        j
        T
        E
        P
        xn
        Fs
        Re
        Tn
        Ns
    unstable_runWithPriority scheduler.production.min.js:18
    React 2
        Ns
        Cn
    Cn self-hosted:1035

Also noticed this 404, but that might be unrelated:

Source map error: request failed with status 404
Resource URL: https://satellite.nodhcp.local/webpack/katello/katello-fb73eba477a0f65e4cad.js
Source Map URL: katello-fb73eba477a0f65e4cad.js.map


Expected results:
Should work


Additional info:
I'm pretty sure this used to work in previous releases

Comment 3 Jan Hutař 2019-08-08 07:03:17 UTC
Created attachment 1601707 [details]
I'm talking about this arrow - screenshot

Comment 4 Brad Buckingham 2019-09-13 14:58:19 UTC
Hi Jan,

I am able to reproduce a console error using the scenarios mentioned in: https://bugzilla.redhat.com/show_bug.cgi?id=1747339#c6.

The error is different than shown above; however, I believe the issue is the same.  Can you take a quick look at the above?  If you agree, I'd like to close this one as a duplicate as we are tracking a specific change with bug 1747339.

Thanks!

Comment 5 Jan Hutař 2019-09-16 06:39:47 UTC
Hello. I think "add a new allocation to an existing subscription (via the satellite ui)" is the important bit for this bug. Yes, I think it is probably a duplicate. Thank you!

*** This bug has been marked as a duplicate of bug 1747339 ***