Icinga / Icinga/icinga2

Duplicate downtimes for children

Open
#10,477 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.2k
Forks
616
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Describe the bug

When you create a downtime for a redundancy group with the Child option Schedule downtime for all children ..., duplicate downtimes are created for children.

To Reproduce

  1. Go to Redundancy-group detail view and click the Downtime quick-action button to create a downtime.
  2. Select a child option in the modal, that will create downtimes for children.
  3. Go to the downtime list and observe, duplicate downtimes are created for children.

Note: The same happens if when multiselect the hosts/services and create downtimes with the Child option. Selected hosts/services must have the same associated children.

Expected behavior

No duplicates.

Screenshots

Image Image Image

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 issue from the redundancy-group detail view using the Downtime quick action and a child option, then inspect the resulting downtime list. Trace the child-option handling for both redundancy groups and multiselected hosts/services; done means each child receives no duplicate downtime.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
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.