Project

General

Profile

Bug #11713

Deface override breaks dropdown in hosts form

Added by Ondřej Pražák almost 7 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

When creating a new host, ajax call updating puppetclasses fails as a result of Deface override, which attaches data-url=/hostgroups/environment_selected to Puppet Environment dropdown. Instead of HostgroupsController, /hosts/hostgroup_or_environment_selected should be called.

Steps to reproduce:
1) go to Hosts > New Host
2) select arbitrary Lifecycle Environment
3) select arbitrary Puppet Environment
4) 500 as a result of failed call

host_ajax_fail.png View host_ajax_fail.png 66.6 KB Ondřej Pražák, 09/07/2015 09:09 AM
Host ajax fail

Related issues

Related to Foreman - Bug #11683: Spinner in puppet class parameters spinning indefinitely on hostgroup creationClosed2015-09-04
Has duplicate Katello - Bug #11797: Selecting Content View in New Hosts page raises 'NoMethodError' in backend.Duplicate2015-09-14

Associated revisions

Revision e1d7def1 (diff)
Added by Ondřej Pražák almost 7 years ago

Fixes #11713 - correct data-url for puppetclass environment dropdown

Revision 818f040e
Added by Justin Sherrill almost 7 years ago

Merge pull request #5463 from xprazak2/foreman-hostgroups-spinner-11683

Fixes #11713 - correct data-url for puppetclass environment dropdown

History

#1 Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5463 added
  • Pull request deleted ()

#2 Updated by Ondřej Pražák almost 7 years ago

  • Related to Bug #11683: Spinner in puppet class parameters spinning indefinitely on hostgroup creation added

#3 Updated by Ondřej Pražák almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Eric Helms almost 7 years ago

  • Category set to 83
  • Legacy Backlogs Release (now unused) set to 70
  • Triaged changed from No to Yes

#5 Updated by Eric Helms almost 7 years ago

  • Legacy Backlogs Release (now unused) changed from 70 to 78

#6 Updated by Eric Helms almost 7 years ago

  • Has duplicate Bug #11797: Selecting Content View in New Hosts page raises 'NoMethodError' in backend. added

#7 Updated by Bryan Kearney over 6 years ago

  • Bugzilla link set to 1262809

#8 Updated by Eric Helms over 6 years ago

  • Legacy Backlogs Release (now unused) changed from 78 to 70

Also available in: Atom PDF