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

Template with UTF-8 (with BOM) text fails to import

    XMLWordPrintable

Details

    • Problem report
    • Status: Confirmed
    • Major
    • Resolution: Unresolved
    • 6.0.8rc2, 6.2.2rc1
    • None
    • Frontend (F)
    • None
    • ARM64/Debian 11.4
    • Support backlog

    Description

      Steps to reproduce:

      1. copy from git.zabbix.com template using Notepad++, for example, in Windows or somehow else, doesn't matter

      Result:
      Template load fails ( template_net_f5_bigip_snmp_from_zbx_repo.yaml );

      Expected:
      Ignore BOM and import the template.

      diff -w 178945_template_net_f5_bigip_snmp_from_zbx_repo.yaml  template_net_f5_bigip_snmp.yaml 
      1c1
      < ´╗┐zabbix_export:
      ---
      > zabbix_export:
      
      $ file 178945_template_net_f5_bigip_snmp_from_zbx_repo.yaml
      178945_template_net_f5_bigip_snmp_from_zbx_repo.yaml: Unicode text, UTF-8 (with BOM) text
      
      $ file template_net_f5_bigip_snmp.yaml
      template_net_f5_bigip_snmp.yaml: Unicode text, UTF-8 text
      

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            edgar.akhmetshin Edgar Akhmetshin
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: