Actions
Bug #24769
closedunable to search for packages
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
If you attempt to do a package search from the packages page, no results will be displayed. Instead, you'll get this stack trace:
ActiveModel::UnknownAttributeError: unknown attribute 'evr' for Class. | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/definition.rb:116:in `column' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/definition.rb:123:in `type' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/definition.rb:254:in `block in default_fields_for' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/definition.rb:254:in `select' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/definition.rb:254:in `default_fields_for' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/query_builder.rb:437:in `to_sql' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/query_builder.rb:54:in `build_find_params' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/query_builder.rb:22:in `build_query' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/auto_complete_builder.rb:87:in `is_query_valid' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/auto_complete_builder.rb:37:in `build_autocomplete_options' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/auto_complete_builder.rb:21:in `auto_complete' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/scoped_search-4.1.3/lib/scoped_search/definition.rb:319:in `complete_for' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:66:in `block in complete_for' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/activerecord-5.1.6/lib/active_record/relation.rb:336:in `scoping' | /home/vagrant/.rvm/gems/ruby-2.4.4/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:66:in `complete_for' | /home/vagrant/katello/app/controllers/katello/concerns/filtered_auto_complete_search.rb:11:in `auto_complete_search'
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7668 added
Updated by Chris Duryee over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|9f5f15856327f35556fbc60dd05a9cff539dba6b.
Updated by Justin Sherrill over 6 years ago
- Related to Bug #23644: Relative comparisons of package versions/releases via scoped_search are incorrect added
Updated by Justin Sherrill over 6 years ago
- Category set to Repositories
- Target version set to Katello 3.7.1
- Triaged changed from No to Yes
- Fixed in Releases Katello 3.9.0 added
Actions