[ZBX-14905] Incorrect error message while import template Created: 2018 Sep 25  Updated: 2024 Apr 10  Resolved: 2018 Oct 31

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.2.23, 3.0.22, 3.4.14, 4.0.0rc3, 4.2.0alpha1
Fix Version/s: 4.0.2rc1, 4.2.0alpha1, 4.2 (plan)

Type: Problem report Priority: Minor
Reporter: Alexey Pustovalov Assignee: Gregory Chalenko
Resolution: Fixed Votes: 0
Labels: import, template, xml
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Team: Team D
Sprint: Sprint 43, Sprint 44, Sprint 46, Nov 2018
Story Points: 1

 Description   

1. Create empty template (no items, no triggers)
2. Create XML file with the same template name and two objects: one item and one trigger
3. Try to import the XML file, but in options list unmark all options from "Update existing" column.

Expected behaviour:
Error like "Template "name of the template" already exists"

Current behaviour:
Error about non-existing item for new trigger.



 Comments   
Comment by Gregory Chalenko [ 2018 Oct 02 ]

Same behavior can be observed when importing host.
RESOLVED for host/template import in development branch svn://svn.zabbix.com/branches/dev/ZBX-14905.

Comment by Gregory Chalenko [ 2018 Oct 30 ]

Fixed in:

  • 4.0.2rc1 r86144
  • 4.2.0alpha1 trunk r86145
Generated at Wed Apr 24 13:47:53 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.