Bug #5231
closedSystem Groups: Unable to select links on Group Actions
Description
Attempting to select a link from the Group Actions pane of a system group, will not properly redirect the user to the systems page, due to a javascript error.
Scenario:
1. Go to Hosts -> System Groups
2. Select a system group
3. Click Group Actions
4. Click one of the links on the pane (e.g. "Package Installation, Removal and Update"
Observe page attempts to redirect to the Systems page; however, it fails to render.
Observe a javascript error in the browser console that looks similar to:
TypeError: Object #<Object> has no method 'allSelected'
at Object.self.table.selectAllResults (http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/widgets/nutupane.factory.js?body=1:271:32)
at new <anonymous> (http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/systems/systems.controller.js?body=1:54:28)
at invoke (http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/angular/angular.js?body=1:3711:17)
at Object.instantiate (http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/angular/angular.js?body=1:3722:23)
at http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/angular/angular.js?body=1:6773:28
at http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/angular-ui-router/angular-ui-router.js?body=1:2798:28
at nodeLinkFn (http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/angular/angular.js?body=1:6227:13)
at compositeLinkFn (http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/angular/angular.js?body=1:5637:15)
at publicLinkFn (http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/angular/angular.js?body=1:5542:30)
at updateView (http://dhcp129-18.rdu.redhat.com:3000/assets/bastion/angular-ui-router/angular-ui-router.js?body=1:2734:23) <section class="container-fluid ng-scope" ui-view=""> angular.js?body=1:9420
This may be a regression introduced by:
https://github.com/Katello/katello/pull/3958