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".

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8.4
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:
      None
    • Environment:
      Linux

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: