Duplicate downtimes for children
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
- Go to Redundancy-group detail view and click the Downtime quick-action button to create a downtime.
- Select a child option in the modal, that will create downtimes for children.
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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