[ZBX-16134] Duplicate triggers can be imported from XML Created: 2019 May 16  Updated: 2024 Apr 10  Resolved: 2019 Jul 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 4.0.7
Fix Version/s: 4.0.11rc1, 4.2.5rc1, 4.4.0alpha1, 4.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Andrejs Griščenko Assignee: Andrejs Griščenko
Resolution: Fixed Votes: 0
Labels: Import/Export, triggers, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-9001 Can't update template where triggers ... Open
Team: Team D
Sprint: Sprint 52 (May 2019), Sprint 53 (Jun 2019), Sprint 54 (Jul 2019)
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Create a host with an item and a trigger.
  2. Export the host.
  3. Rename or delete the host.
  4. Open export file in a code editor.
  5. Make a copy of the trigger so that there are two equal records under <triggers>.
  6. Save the file and import it.
  7. Navigate to the list of triggers of the host.

Result:
There are 2 triggers with the same name and expression.
Expected:
It should not be possible to import duplicate triggers from XML.



 Comments   
Comment by Andrejs Griščenko [ 2019 May 31 ]

Resolved in development branch feature/ZBX-16134-4.0

Comment by Andrejs Griščenko [ 2019 Jul 03 ]

Fixed in:

Generated at Thu Apr 25 01:59:33 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.