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

Scalar items in exported xml are in random order

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • 2.0.0
    • 1.8.4
    • Frontend (F)

      Each time when host or template definition is exported, the order of low-level elements is new.

      If someone is trying to keep host templates in version control system, or just wants to compare old version of xml with new, diff outputs A MUCH of differences just because whole xml nodes changed their places.

      Attached patch makes this job less tricky. For the following components in host and template definitions:
      applications
      items
      triggers
      graphs
      graphs items
      it adds ordering by single field. As far as these components do not depend on component of the same type and all are childs of one parent node, this ordering could not break import operation.

            Unassigned Unassigned
            xy2 Denis Seleznyov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: