[ZBX-17860] Unable to import host when host contains more than 2 discovery rules with host prototype having same name. Created: 2020 Jun 02  Updated: 2024 Apr 10  Resolved: 2020 Jul 13

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 5.0.1, 5.2.0alpha1
Fix Version/s: 4.0.23rc1, 5.0.2rc1, 5.2.0alpha1, 5.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Gregory Chalenko Assignee: Roberts Lataria (Inactive)
Resolution: Fixed Votes: 2
Labels: discoveryrule, host, import
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File host_host.xml     PNG File image-2020-06-02-14-54-54-266.png    
Issue Links:
Duplicate
is duplicated by ZBX-16981 Host prototype duplicate check warns ... Closed
Team: Team D
Sprint: Sprint 65 (Jun 2020), Sprint 66 (Jul 2020)
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Import host in attachment
  2. Create new discovery rule for imported host
  3. Create host prototype for new discovery rule with name equal "{#NAME}"
  4. Export host
  5. Attempt to import exported host

Result:

Expected:
Host is imported successfully.



 Comments   
Comment by Roberts Lataria (Inactive) [ 2020 Jun 03 ]

Resolved in development branch feature/ZBX-17860-5.0.

Comment by Roberts Lataria (Inactive) [ 2020 Jun 29 ]

Fixed in:

Generated at Sun Apr 27 11:13:30 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.