Bug 1776754

Summary: In job template when adding foreign input set - unchecking 'Include All' does not enable 'Include' field
Product: Red Hat Satellite Reporter: Peter Dragun <pdragun>
Component: Remote ExecutionAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Peter Dragun <pdragun>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: aruzicka, inecas
Target Milestone: 6.7.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_remote_execution-2.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 13:27:28 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 Peter Dragun 2019-11-26 10:22:22 UTC
Description of problem:
On job template edit view in 'Job' tab, when I try to add foreign input set and uncheck the 'Include All' checkbox to specify 'Include' field, text input is not enabled and console shows error "ReferenceError: update_foreign_input_set_include is not defined".

Version-Release number of selected component (if applicable):
Satellite 6.7 snap 3

How reproducible:
always

Steps to Reproduce:
1. Navigate to 'Hosts' -> 'Job templates'
2. Create new or edit existing template
3. Navigate to 'Job' tab
4. Click on 'Add Foreign Input Set'
5. Uncheck 'Include All'

Actual results:
'Input' field is not enabled

Expected results:
'Input' field should be enabled

Additional info:
This worked fine in sat 6.6

Comment 4 Adam Ruzicka 2019-12-05 11:52:46 UTC
REX 2.0.3 was missing precompiled assets, UI parts relying on those javascripts were failing beacuse of that. 2.0.4 contains everything needed.

Comment 5 Peter Dragun 2019-12-10 12:53:42 UTC
Verified on Sat 6.7 snap 5. Checkbox working as expected, Include field is enabled.

Comment 8 errata-xmlrpc 2020-04-14 13:27:28 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-2020:1454