Bug 1223743 - Product_content tab on activation-key page remains in loading state and getting TypeError: Cannot read property 'length' of undefined
Summary: Product_content tab on activation-key page remains in loading state and getti...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1223773 (view as bug list)
Depends On:
Blocks: 1223778
TreeView+ depends on / blocked
 
Reported: 2015-05-21 11:36 UTC by Sachin Ghai
Modified: 2017-02-23 20:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 13:59:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Product_content tab on activation-key page with TypeError: in dev-tools's console (87.21 KB, image/png)
2015-05-21 11:36 UTC, Sachin Ghai
no flags Details
product_content tab is loading state with snap5 C2 (46.21 KB, image/png)
2015-05-22 12:47 UTC, Sachin Ghai
no flags Details
webUI screenshot from FF37.0 that shows loaded products (60.83 KB, image/png)
2015-05-28 09:57 UTC, Sachin Ghai
no flags Details
webUI screenshot from chrome (67.39 KB, image/png)
2015-05-28 09:57 UTC, Sachin Ghai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10575 0 None None None 2016-04-22 16:46:22 UTC

Description Sachin Ghai 2015-05-21 11:36:27 UTC
Created attachment 1028090 [details]
Product_content tab on activation-key page with TypeError:  in dev-tools's console

Description of problem:
I was trying to create activation-key. It was created successfully and later I added the subscription to it. But when I select the product_content tab. I got following error in development_tools console:

TypeError: Cannot read property 'length' of undefined

Please see the attached screenshot

Version-Release number of selected component (if applicable):
sat6.1 GA snap5

How reproducible:
always

Steps to Reproduce:
1. create activation-key
2. add subscription
3. select product _content tab

Actual results:
Product_content tab on activation-key page remains in loading state and getting TypeError: Cannot read property 'length' of undefined

Expected results:
it should show all products from selected subscriptions.

Additional info:

Comment 2 Tazim Kolhar 2015-05-21 13:09:51 UTC
*** Bug 1223773 has been marked as a duplicate of this bug. ***

Comment 3 Walden Raines 2015-05-21 14:11:30 UTC
Created redmine issue http://projects.theforeman.org/issues/10575 from this bug

Comment 4 Walden Raines 2015-05-21 14:19:56 UTC
PR: https://github.com/Katello/katello/pull/5242

Comment 5 Bryan Kearney 2015-05-21 18:05:33 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10575 has been closed
-------------
Walden Raines
Applied in changeset commit:katello|0994bb85a732738213f4db8bea6bcbd22b604ea0.

Comment 7 Sachin Ghai 2015-05-22 12:45:23 UTC
Reproducible with snap5 compose2.

I can still see the page in loading state. Please see attached bz.

Comment 8 Sachin Ghai 2015-05-22 12:45:51 UTC
(In reply to Sachin Ghai from comment #7)
> Reproducible with snap5 compose2.
> 
> I can still see the page in loading state. Please see attached bz.

I mean the attachement.

Comment 9 Sachin Ghai 2015-05-22 12:47:11 UTC
Created attachment 1028768 [details]
product_content tab is loading state with snap5 C2

Comment 13 Sachin Ghai 2015-05-28 09:55:28 UTC
Verified with Sat6.1 GA snap6.

I can see now "product_content" tab under activation_key loads properly. I can see the product listing from the selected subscriptions. Please see the attached screenshot for verification. Thanks for fixing the issue.

Comment 14 Sachin Ghai 2015-05-28 09:57:06 UTC
Created attachment 1031137 [details]
webUI screenshot from FF37.0 that shows loaded products

Comment 15 Sachin Ghai 2015-05-28 09:57:58 UTC
Created attachment 1031138 [details]
webUI screenshot from chrome

Comment 16 Bryan Kearney 2015-08-11 13:34:12 UTC
This bug is slated to be released with Satellite 6.1.

Comment 17 Bryan Kearney 2015-08-12 13:59:14 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.


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