Template import not matching names correctly

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Critical
    • Affects Version/s: 6.4.10
    • Component/s: API (A)
    • None
    • Environment:
      Fresh 6.4.10 installation with no modifications.
    • S24-W22/23
    • 1

      On an older version, before UUID's where introduced (5.0 used in example), create a custom template with name "Custom Template APP Solaris".
      Export the template and try to import into 6.4.
      It incorrectly matches built in template "Solaris by Zabbix agent":


      As a result a template actually used in production might get items/triggers removed by accident.
      It's probably related to this:
      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/ui/include/classes/import/converters/C52ImportConverter.php#690
      Which should apply upstream name changes to templates. But probably it's better to not do this than risk breaking existing templates.

            Assignee:
            Janis Freibergs
            Reporter:
            Edgars Melveris
            Team C
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: