Actions
Bug #10793
closedEditing location or organization fails with NameError uninitialized constant ConfigTemplate
Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
Description
Originally reported in #10778, we didn't migrate ignore_types of taxonomies to new class name so users see following error and trace when they try to edit Location or Organization that was set to ignore ConfigTemplate (Provisioning template)
NameError uninitialized constant ConfigTemplate
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib/foreman_hooks.rb:83:in `load_missing_constant_with_hooks' /opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing' /usr/share/foreman/config/initializers/deprecations.rb:3:in `const_missing' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:229:in `each' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:229:in `constantize' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/core_ext/string/inflections.rb:54:in `constantize' /usr/share/foreman/app/services/tax_host.rb:34:in `block in selected_ids' /usr/share/foreman/app/services/tax_host.rb:33:in `each' /usr/share/foreman/app/services/tax_host.rb:33:in `selected_ids' /usr/share/foreman/app/services/tax_host.rb:61:in `selected_or_inherited_ids' /usr/share/foreman/app/services/tax_host.rb:77:in `block in need_to_be_selected_ids' /usr/share/foreman/app/services/tax_host.rb:73:in `map' /usr/share/foreman/app/services/tax_host.rb:73:in `need_to_be_selected_ids' /usr/share/foreman/app/services/tax_host.rb:129:in `check_for_orphans' /usr/share/foreman/app/models/taxonomy.rb:168:in `check_for_orphans'
Actions