Actions
Bug #10868
closedSelecting "All $RESOURCE" for a taxonomy results in error 'uninitialized constant'
Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
Description
Going to Manage Organization (or Location), clicking edit on one, selecting a resoruce such as "Hostgroups", clicking "All Hostgroups", and saving results in a traceback:
uninitialized constant Hostgroups config/initializers/deprecations.rb:3:in `const_missing' app/services/tax_host.rb:34:in `block in selected_ids' app/services/tax_host.rb:33:in `each' app/services/tax_host.rb:33:in `selected_ids' app/services/tax_host.rb:61:in `selected_or_inherited_ids' app/services/tax_host.rb:77:in `block in need_to_be_selected_ids' app/services/tax_host.rb:73:in `map' app/services/tax_host.rb:73:in `need_to_be_selected_ids' app/services/tax_host.rb:129:in `check_for_orphans' app/models/taxonomy.rb:168:in `check_for_orphans' /home/vagrant/git/katello/app/models/katello/glue.rb:71:in `valid?' /home/vagrant/git/foreman-tasks/app/models/foreman_tasks/concerns/action_triggering.rb:26:in `block in save' /home/vagrant/git/foreman-tasks/app/models/foreman_tasks/concerns/action_triggering.rb:97:in `dynflow_task_wrap' /home/vagrant/git/foreman-tasks/app/models/foreman_tasks/concerns/action_triggering.rb:26:in `save' /home/vagrant/git/katello/app/lib/katello/lazy_accessor.rb:83:in `save' /home/vagrant/git/foreman-tasks/app/models/foreman_tasks/concerns/action_triggering.rb:38:in `block in update_attributes' /home/vagrant/git/foreman-tasks/app/models/foreman_tasks/concerns/action_triggering.rb:110:in `dynflow_task_wrap' /home/vagrant/git/foreman-tasks/app/models/foreman_tasks/concerns/action_triggering.rb:38:in `update_attributes' app/controllers/concerns/foreman/controller/taxonomies_controller.rb:79:in `block in update' app/models/taxonomy.rb:59:in `block in no_taxonomy_scope' app/models/taxonomy.rb:66:in `block (2 levels) in as_taxonomy' app/models/concerns/foreman/thread_session.rb:147:in `as_location' app/models/taxonomy.rb:65:in `block in as_taxonomy' app/models/concerns/foreman/thread_session.rb:112:in `as_org' app/models/taxonomy.rb:64:in `as_taxonomy' app/models/taxonomy.rb:58:in `no_taxonomy_scope' app/controllers/concerns/foreman/controller/taxonomies_controller.rb:78:in `update' app/controllers/concerns/application_shared.rb:13:in `set_timezone' app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' lib/middleware/catch_json_parse_errors.rb:9:in `call'
Unsure if related, but when i attempt this with any resource with two words (such as provisioning templates), I get:
wrong constant name Provisioning templates
Updated by Dominic Cleal over 9 years ago
- Related to Bug #7335: organizations UI "All users" toggle not checking permissions for being displayed added
Updated by Dominic Cleal over 9 years ago
- Translation missing: en.field_release set to 35
Appears to be a change in the ignore_types checkbox value in #7335, which changed from the name of a constant to .to_s.humanize
.
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2495 added
- Pull request deleted (
)
Updated by Shlomi Zadok over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 707d9bdda6bb95cdaf6f77281ee5a16e2b5bc555.
Actions