Actions
Bug #4960
closedundefined method `host_classes_path' when editing filter on "host class"
Description
Create a (role) filter with the "Host class" edit_classes permission, then go back and edit it and it will fail:
ActionView::Template::Error (undefined method `host_classes_path' for #<#<Class:0x007f6facb28860>:0x007f6fb95070f0>): 45: 46: <%= autocomplete_f f, :search, 47: :disabled => f.object.unlimited?, 48: :path => resource_path(f.object.resource_type), :control_group_id => 'search_group' %> 49: </div> 50: </div> 51: app/helpers/filters_helper.rb:28:in `resource_path' app/views/filters/_form.html.erb:48:in `block in _app_views_filters__form_html_erb___2057435471048220807_70058920025860' app/helpers/layout_helper.rb:248:in `form_for' app/views/filters/_form.html.erb:3:in `_app_views_filters__form_html_erb___2057435471048220807_70058920025860' app/views/filters/edit.html.erb:3:in `_app_views_filters_edit_html_erb__944164940854790638_70058919033000' app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
Updated by Dominic Cleal over 10 years ago
- Blocks Tracker #4552: New permissions/authorization system issues added
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release set to 4
Updated by Tomáš Strachota over 10 years ago
- Status changed from New to Assigned
- Assignee set to Tomáš Strachota
Updated by Tomáš Strachota over 10 years ago
- Status changed from Assigned to Ready For Testing
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 127958bd7f3d4ecba0608384a05e4ad7b6f374de.
Actions