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

When Zabbix imports a map including nameless icon, the icon name becomes "3".

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 1.8.4
    • Frontend (F)
    • None
    • Linux

      When Zabbix imports a map including nameless icon, the icon name becomes "3".
      Please see attached files.

      [How to reproduce]
      At first, I made a map like "map_label_01.png".
      I exported the map and imported to another Zabbix.
      Then, the imported map became like "map_label_02.png".

      The nameless icons in "map_label_01.png" became named as "3" in "map_label_02.png".

      [Why it occurs]
      The default value of icon is set as "3" in "frontends/php/api/classes/class.cmap.php" line 879.
      I suggest to set the default value as ''.
      I attached a patch as zabbix-1.8.4-fix_importing_map_icon_label.patch.

        1. map_label_01.png
          21 kB
          Takanori Suzuki
        2. map_label_02.png
          22 kB
          Takanori Suzuki
        3. zabbix-1.8.4-fix_importing_map_icon_label.patch
          0.5 kB
          Takanori Suzuki

            Unassigned Unassigned
            tsuzuki Takanori Suzuki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: