Bug 1186974

Summary: Creating a composite initially sends you to a page to add components that is empty
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: WebUIAssignee: Eric Helms <ehelms>
WebUI sub component: Katello QA Contact: jcallaha
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: bbuckingham, bkearney, jcallaha, jmontleo, sthirugn
Version: NightlyKeywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/8834
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:22:30 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:

Description Justin Sherrill 2015-01-29 02:40:55 UTC
Description of problem:

When creating a composite content view, you are sent initially to the page where you can add components, however this list is empty.  Navigating to some other page (or tab) and back causes the list to be loaded properly.

javascript error seen:


TypeError: Cannot set property 'numSelected' of undefined
    at new <anonymous> (http://abed.usersys.redhat.com:3000/assets/bastion/components/bst-table.directive.js?body=1:31:34)
    at invoke (http://abed.usersys.redhat.com:3000/assets/bastion/angular/angular.js?body=1:3711:17)
    at Object.instantiate (http://abed.usersys.redhat.com:3000/assets/bastion/angular/angular.js?body=1:3722:23)
    at http://abed.usersys.redhat.com:3000/assets/bastion/angular/angular.js?body=1:6773:28
    at http://abed.usersys.redhat.com:3000/assets/bastion/angular/angular.js?body=1:6186:34
    at forEach (http://abed.usersys.redhat.com:3000/assets/bastion/angular/angular.js?body=1:311:20)
    at nodeLinkFn (http://abed.usersys.redhat.com:3000/assets/bastion/angular/angular.js?body=1:6173:11)


Version-Release number of selected component (if applicable):
nightly

How reproducible:
always

Steps to Reproduce:
1.  Have at least one Content view already published
2.  Create a new composite content view
3.  After hitting Save, you will be redirected to the page to add components 

Actual results:
List is empty


Expected results:
List is populated

Additional info:

Comment 2 Walden Raines 2015-02-20 14:01:34 UTC
Created redmine issue http://projects.theforeman.org/issues/9485 from this bug

Comment 3 Bryan Kearney 2015-02-23 15:04:49 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/8834 has been closed
-------------
Eric Helms
Applied in changeset commit:katello|ec0fab27970148098959244c9292cac9b927f3e8.

Comment 6 jcallaha 2015-02-26 21:08:53 UTC
Verified in Satellite 6.1.0 snap 4 compose 2.

Version tested:
RHEL 66
RHEL 71

Comment 7 Bryan Kearney 2015-08-11 13:21:43 UTC
This bug is slated to be released with Satellite 6.1.

Comment 8 errata-xmlrpc 2015-08-12 05:22:30 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-2015:1592