Type: Problem report
Affects Version/s: 4.0.7
Component/s: API (A)
Sprint:Sprint 52 (May 2019), Sprint 53 (Jun 2019), Sprint 54 (Jul 2019)
Steps to reproduce:
- Create a host with an item and a trigger.
- Export the host.
- Rename or delete the host.
- Open export file in a code editor.
- Make a copy of the trigger so that there are two equal records under <triggers>.
- Save the file and import it.
- Navigate to the list of triggers of the host.
There are 2 triggers with the same name and expression.
It should not be possible to import duplicate triggers from XML.