-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
4.0.22, 5.0.1, 5.2.0alpha1
Steps to reproduce:
- Create a host
- Create three items: "a", "b", "c"
- Create a normal graph type (or stacked) by adding item "a" as "Y axis MIN value", "b" as "Y axis MAX value" and "c" to item list.
- Save graph.
- Open graph to edit it.
- Press clone, change name and graph type to "Pie".
- Leave that "c" item where it is.
- Observe "a" and "b" Y MIN/MAX items are gone.
- Save graph.
- Export host.
- Import host back.
Result:
"Invalid tag "/zabbix_export/graphs/graph(2)/ymin_item_1": unexpected tag "host"."
Expected:
Y MIN/MAX items should be cleared when changing graph type during cloning, so they are not exported at all and so that import works successfully.