[ZBX-4710] Cannot full clone template if graph prototype axis item is set to item prototype. Created: 2012 Feb 29  Updated: 2017 May 30  Resolved: 2012 Mar 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.9 (beta)
Fix Version/s: 2.0.0rc2

Type: Incident report Priority: Blocker
Reporter: Alexey Fukalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: cloning
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Create template with discovery rule, item prototype and graph prototype.
Set "Y axis MIN value" to "Item" and select item prototype for it.
Try to full clone that template, it fails.



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 09 ]

(1) There's also a problem with normal graphs: when cloning a host the items, that are used for the Y axis are not replaced by new ones.

<pavels> Forgot, that this will be fixed in ZBX-4718, never mind. CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 12 ]

(2) Another issue: if a graph prototype on template uses an normal templated item for the Y axis, when you try to delete that template, you'll get the "Could not delete these items because some of them are used as MAX values for graphs. [CTemplate.delete -> CItem.delete -> CItemGeneral.checkGraphReference -> CItemGeneral.checkUseInGraphAxis]" error.

<pavels> Same thing for hosts.

<pavels> RESOLVED.

<Vedmak> CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 14 ]

Fixed in the trunk r26061.

CLOSED.

Generated at Sat Apr 27 03:56:20 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.