Project

General

Profile

Actions

Bug #6830

closed

upgrade 1.4.5 to 1.5.2 results in "Invalid search query" error

Added by Gerard Reitsma almost 10 years ago. Updated almost 6 years ago.

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

Description

I updated from 1.4.5 to 1.5.2. After the upgrade the following error occured when starting foreman:

Validation failed: Search Invalid search query: Field 'compute_resource_id' not recognized for searching! (ActiveRecord::RecordInvalid)

After commenting out this line Foreman started: https://github.com/theforeman/foreman/blob/1.5-stable/app/models/filter.rb#L47


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #5235: Filter creation allows me to enter and save with a field that isn't available for searching and blows up the resulting entity pageClosed04/17/2014Actions
Actions

Also available in: Atom PDF