Icinga / Icinga/icingadb-web

Mixed filter with Servicegroup Name and Servicegroup Name (CI) on hosts returning null

Open
#435 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

TBD
Dominant language
PHP
Stars
81
Forks
33
Avg merge
6d 4h
Merged PRs (30d)
1

Description

Describe the bug

Mixed filter with Servicegroup Name and Servicegroup Name (CI) on hosts returning null, but when Servicegroup Name is used for both the condition in filter for mixed filter with two conditions it fetches right result.

Note: This problem occurs only in the case when Servicegroup Name and Servicegroup Name(CI) are used together for the filter.

Screenshots

Mixed filter on Servicegroup Name and Servicegroup Name (CI) for hosts:
Screenshot 2021-11-09 at 11 56 35

Mixed filter on two Servicegroup Name for hosts, but with same servicegroup names as above:
Screenshot 2021-11-09 at 12 04 50

Expected Behaviour

In both cases the same number of hosts must be returned by the filter.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the host filter using Servicegroup Name together with Servicegroup Name (CI), then compare it with two Servicegroup Name conditions using the same values. Trace the mixed-filter handling in the relevant filter implementation; done means both cases return the same number of hosts instead of null.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.