Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1553045

Summary: JS Error: s.included.ids is undefined - on choosing REX on host collection action dialog
Product: Red Hat Satellite Reporter: matt jia <mjia>
Component: WebUIAssignee: satellite6-bugs <satellite6-bugs>
WebUI sub component: Katello QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified    
Version: 6.3.0   
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: 2018-03-08 06:48:58 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
Fix BZ 1532605 none

Description matt jia 2018-03-08 06:40:55 UTC
Description of problem:

Similar to Bug 1532605, preventing user to use remote execution on host collection to bulk update errata.

TypeError: Cannot read property 'join' of undefined
    at h.e.installErrataViaRemoteExecution (bastion_katello-e2ac09e4deea5b25523b8c902253b933efdb405e6c510e1e06a1fe684e86c68c.js:formatted:564)
    at fn (eval at compile (bastion-2b28df80b56d107b087fea1305695eaa138231f98bbfee66debf6cd5fc820246.js:formatted:7271), <anonymous>:4:295)
    at t (bastion-2b28df80b56d107b087fea1305695eaa138231f98bbfee66debf6cd5fc820246.js:formatted:3762)
    at a (bastion-2b28df80b56d107b087fea1305695eaa138231f98bbfee66debf6cd5fc820246.js:formatted:8347)
    at h.$eval (bastion-2b28df80b56d107b087fea1305695eaa138231f98bbfee66debf6cd5fc820246.js:formatted:4410)
    at h.$apply (bastion-2b28df80b56d107b087fea1305695eaa138231f98bbfee66debf6cd5fc820246.js:formatted:4429)
    at HTMLAnchorElement.<anonymous> (bastion-2b28df80b56d107b087fea1305695eaa138231f98bbfee66debf6cd5fc820246.js:formatted:8351)
    at HTMLAnchorElement.dispatch (jquery.js:4737)
    at HTMLAnchorElement.elemData.handle (jquery.js:4549)

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

6.3.0

How reproducible:

always

Steps to Reproduce:
1. Go to Hosts -> content hosts
2. Select all the hosts and go 'Select Action' -> 'Manage Erata'
3. In the modal, from 'Install Selectted' dropdown, choose rex (customize first)

Actual results:

js traceback - s.included.ids is undefined

Expected results:

no errors and should be redirected to this page https://xxxx/katello/remote_execution


Additional info:

Comment 1 matt jia 2018-03-08 06:43:24 UTC
I have attached a patch and this should be able to fix the issue.

Comment 2 matt jia 2018-03-08 06:44:30 UTC
Created attachment 1405708 [details]
Fix BZ 1532605

Comment 3 matt jia 2018-03-08 06:48:58 UTC

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