[ZBX-18959] Not possible to Full Clone a host if a template with at least one item is unlinked during this operation Created: 2021 Feb 02  Updated: 2023 Jan 26

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.29rc1, 5.0.9rc1, 5.2.5rc1, 5.4.0alpha2
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Olonkins Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 3
Labels: fullcloning, host, template
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File full_clone_unlink_template.gif    
Issue Links:
Duplicate
is duplicated by ZBX-19646 Impossible to Full clone a host with ... Closed
is duplicated by ZBX-22053 Host full clone fails (no host create... Closed
is duplicated by ZBX-20272 Cannot add full clone of a host if a ... Closed

 Description   

Problem description: it is not possible to make a Full clone of a host if during the full clone operation a template with at least one item is unlinked. In this case the "Cannot add host" error is returned.

Steps to reproduce:

  1. Create a template with at least 1 item
  2. Create a host and link the previously created template to it
  3. Open host configuration And press "Full clone" button
  4. Change the name of the host clone and unlink the template from this clone
  5. Attempt to save the host clone

Result: The "Cannot add host" error is returned. Host clone is not saved.
Expected: No errors should be returned. Host clone should be saved.

Example:



 Comments   
Comment by Oleksii Zagorskyi [ 2023 Jan 03 ]

ZBX-21048 could be related

Generated at Mon Apr 07 10:55:23 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.