Project

General

Profile

Actions

Bug #15773

closed

Dashboard search breaks with foreman_discovery installed

Added by Brandon Weeks almost 8 years ago. Updated almost 6 years ago.

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

Description

Both the `hosts` table in foreman and the `discovery_rules` table in foreman_discovery contain a column named `enabled`. This causes searching for arbitrary strings on the dashboard to fail and has been the case since at least the Rails 4 migration in 1.11. Traceback and offended query are attached.


Files

query.sql query.sql 3.09 KB Brandon Weeks, 07/21/2016 02:11 PM
traceback.txt traceback.txt 16.4 KB Brandon Weeks, 07/21/2016 02:11 PM
Actions

Also available in: Atom PDF