Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18034

Graph clone from normal to pie type creates unnecessary data in DB resulting in invalid export data

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.0.22, 5.0.1, 5.2.0alpha1
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:
    • Team:
      Team B

      Description

      Steps to reproduce:

      1. Create a host
      2. Create three items: "a", "b", "c"
      3. 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.
      4. Save graph.
      5. Open graph to edit it.
      6. Press clone, change name and graph type to "Pie".
      7. Leave that "c" item where it is.
      8. Observe "a" and "b" Y MIN/MAX items are gone.
      9. Save graph.
      10. Export host.
      11. 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.

        Attachments

          Activity

            People

            Assignee:
            zabbix.dev Zabbix Development Team
            Reporter:
            iivs Ivo Kurzemnieks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: