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 #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3669 added
Actions #2

Updated by Brandon Weeks almost 8 years ago

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

Updated by Dominic Cleal almost 8 years ago

  • translation missing: en.field_release set to 161
Actions

Also available in: Atom PDF