Project

General

Profile

Actions

Bug #2747

closed

Unable to autocomplete right hand side in search

Added by Dominic Cleal over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Search
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

On 1.2.0, trying to autocomplete using the search box (at least on the Host page with name = ) fails and an error appears in the logs:

ArgumentError - wrong number of arguments (1 for 0):
  activerecord (3.2.13) lib/active_record/scoping/named.rb:178:in `block (2 levels) in scope'
  activerecord (3.2.13) lib/active_record/scoping/default.rb:41:in `block in unscoped'
  activerecord (3.2.13) lib/active_record/relation.rb:241:in `block in scoping'
  activerecord (3.2.13) lib/active_record/scoping.rb:98:in `with_scope'
  activerecord (3.2.13) lib/active_record/relation.rb:241:in `scoping'
  activerecord (3.2.13) lib/active_record/scoping/default.rb:41:in `unscoped'
  activerecord (3.2.13) lib/active_record/scoping/named.rb:178:in `block in scope'
  scoped_search (2.6.0) lib/scoped_search/auto_complete_builder.rb:207:in `completer_scope'
  scoped_search (2.6.0) lib/scoped_search/auto_complete_builder.rb:202:in `complete_value'
  scoped_search (2.6.0) lib/scoped_search/auto_complete_builder.rb:49:in `build_autocomplete_options'
  scoped_search (2.6.0) lib/scoped_search/auto_complete_builder.rb:22:in `auto_complete'
  scoped_search (2.6.0) lib/scoped_search/definition.rb:273:in `complete_for'
  lib/foreman/controller/auto_complete_search.rb:5:in `auto_complete_search'
Actions #1

Updated by Dominic Cleal over 11 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dominic Cleal
Actions #2

Updated by Dominic Cleal over 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF