Actions
Bug #4293
closedScoped search breaks on some relations
Description
I can't search using taxonomies anywhere except hosts (which have belongs_to instead of has_many relation). This is blocker for #812.
To reproduce, go to e.g. subnets page and try to find subnets from specific organization like this
"organization = RedHat"
you'll receive
NoMethodError in SubnetsController#index undefined method `klass' for nil:NilClass app/controllers/subnets_controller.rb:5:in `index' app/models/concerns/foreman/thread_session.rb:33:in `clear_thread' lib/middleware/catch_json_parse_errors.rb:9:in `call' Parameters: {"utf8"=>"✓", "search"=>"organization = RedHat", "locale"=>nil}
Updated by Marek Hulán almost 11 years ago
- Related to Bug #2767: Seach for host.hostgroup in /fact_values raise 500 error added
Updated by Marek Hulán almost 11 years ago
- Blocks Feature #812: cant assign roles to groups, just to users added
Updated by Amos Benari almost 11 years ago
This (https://github.com/wvanbergen/scoped_search/pull/67) should fix the issue.
Updated by Marek Hulán almost 11 years ago
- Status changed from New to Closed
- Assignee set to Amos Benari
- Target version set to 1.9.1
- % Done changed from 0 to 100
Tested new 2.6.2 fixes the issue! Thank you Amos. #2767 still does not work, but that seems as different issue.
Updated by Dominic Cleal almost 11 years ago
RPM of 2.6.2 built and released to nightly.
Updated by Dominic Cleal almost 11 years ago
- Translation missing: en.field_release changed from 4 to 5
Updated by Anonymous almost 11 years ago
- Related to Bug #4563: ruby193-rubygem-scoped_search-2.6.3-1.el6.noarch breaks searching via the api with foreman-1.4.1 added
Actions