-
Patch request
-
Resolution: Fixed
-
Major
-
3.0.14
-
Sprint 27, Sprint 28
-
3
We met a problem when copying triggers which has trigger dependencies to multiple hosts.
All copied triggers have dependency on the same trigger of one of the hosts.
We made a patch and found out it resolved this problem.
How to reproduce the problem:
1. Prepare 4 hosts
orig_host
Host1
Host2
Host3
2. Create 2 triggers on orig_host.
TriggerA
TriggerB
3. Add dependency on TriggerB to TriggerA
TriggerA
Dependencies
orig_host: triggerB
4. Copy two triggers to other three hosts by using Mass editing options.
Mark the checkboxes of them and press copy button then select three hosts and press Copy button.
5. The result is as follows.
All TriggerA triggers existing on the hosts depend on Host1:TriggerB.
Host1
TriggerA
Depends on:
Host1: TriggerB
Host2
TriggerA
Depends on:
Host1: triggerB
Host3
TriggerA
Depends on:
Host1: triggerB
They should be set as follows.
Host1
TriggerA
Depends on:
Host1: TriggerB
Host2
TriggerA
Depends on:
Host2: triggerB
Host3
TriggerA
Depends on:
Host3: triggerB