Project

General

Profile

Actions

Bug #12891

closed

search_by_params for host returns all hosts

Added by Ori Rabin almost 9 years ago. Updated over 6 years ago.

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

Description

In search_by_params:

 p = Parameter.all(opts)

returns: ArgumentError: wrong number of arguments (1 for 0)
making the search fail.
As a result all hosts are returned.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #7230: Upgrade Ruby on Rails to 4.1ClosedDaniel Lobato Garcia08/22/2014Actions
Actions #1

Updated by Ori Rabin almost 9 years ago

Actions #2

Updated by Ori Rabin almost 9 years ago

This also happens in search_by_user

Actions #3

Updated by The Foreman Bot almost 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2993 added
Actions #4

Updated by Ori Rabin almost 9 years ago

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

Updated by Dominic Cleal almost 9 years ago

  • Category set to Search
  • Translation missing: en.field_release set to 71

I think this is a Rails 4 specific regression, please correct me if not so we can assign it to an appropriate release.

Actions

Also available in: Atom PDF