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 ***