Project

General

Profile

Refactor #1092

hostgroup should not look for parent hostgroups if they do not exists

Added by Ohad Levy almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

when displaying a hostgroup name, we see requests for NULL in the db such as:

SELECT * FROM "hostgroups" WHERE ("hostgroups"."id" IN (NULL)) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry

Associated revisions

Revision cef8738d (diff)
Added by Ohad Levy almost 8 years ago

fixes #1092 - hostgroup should not look for parent hostgroups if they do not exists

History

#1 Updated by Ohad Levy almost 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF