Bug #28236
closedUncaught ReferenceError: foreman_url is not defined on selecting life cycle env while creating/editing hostgroup
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1770431
Description of problem:
Uncaught ReferenceError: foreman_url is not defined on selecting life cycle env while creating/editing hostgroup
host_and_hostgroup_edit-13d1143eed639f1a0b11a5e5c2ff1b9dceb6a23bd614a733fffbe6b181550b64.js:1 Uncaught ReferenceError: foreman_url is not defined
at Object.KT.hosts.fetchContentViews (host_and_hostgroup_edit-13d1143eed639f1a0b11a5e5c2ff1b9dceb6a23bd614a733fffbe6b181550b64.js:1)
at HTMLSelectElement.KT.hosts.environmentChanged (host_and_hostgroup_edit-13d1143eed639f1a0b11a5e5c2ff1b9dceb6a23bd614a733fffbe6b181550b64.js:1)
at HTMLSelectElement.dispatch (jquery.js:4737)
at HTMLSelectElement.v.handle (jquery.js:4549)
at Object.trigger (jquery.js:7807)
at HTMLSelectElement.<anonymous> (jquery.js:7875)
at Function.each (jquery.js:365)
at m.fn.init.each (jquery.js:137)
at m.fn.init.trigger (jquery.js:7874)
at r.triggerChange (select2.js:1168)
KT.hosts.fetchContentViews host_and_hostgroup_edit-13d1143eed639f1a0b11a5e5c2ff1b9dceb6a23bd614a733fffbe6b181550b64.js:1
host_and_hostgroup_edit-13d1143eed639f1a0b11a5e5c2ff1b9dceb6a23bd614a733fffbe6b181550b64.js:1
KT.hosts.environmentChanged
dispatch jquery.js:4737
jquery.js:4549
v.handle
trigger jquery.js:7807
jquery.js:7875
(anonymous)
each jquery.js:365
jquery.js:137
each
trigger jquery.js:7874
select2.js:1168
triggerChange
onSelect select2.js:2465
select2.js:1870
selectHighlighted
(anonymous) select2.js:807
select2.js:681
(anonymous)
dispatch jquery.js:4737
jquery.js:4549
v.handle
How reproducible:
always
Steps to Reproduce:
1. Navigate to create new hostgroup
2. select life cycle environment
3. See browser console error
Actual results:
Uncaught ReferenceError: foreman_url is not defined on selecting life cycle env while creating/editing hostgroup
Expected results:
Able to create hostgroup successfully with attached lifecycle env and content view.
Additional info:
Updated by Kavita Gaikwad about 5 years ago
- Related to Refactor #26198: ensure host list does not trigger a full page reload added
Updated by Kavita Gaikwad about 5 years ago
- Related to deleted (Refactor #26198: ensure host list does not trigger a full page reload)
Updated by Kavita Gaikwad about 5 years ago
- Related to Task #23451: move all javascript/css assets to webpack added
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Kavita Gaikwad
- Pull request https://github.com/Katello/katello/pull/8428 added
Updated by Jonathon Turel about 5 years ago
- Target version set to Katello 3.14.0
- Triaged changed from No to Yes
Updated by The Foreman Bot about 5 years ago
- Fixed in Releases Katello 3.15.0 added
Updated by Kavita Gaikwad about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|58e138ce9af60503a31dbeaab5326011730c61d7.