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

"Undefined index: iconmappingid" and other errors when creating an icon map

    Details

      Description

      create a new iconmap, leave one expression field empty, try to save :

      Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
      Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]

      fill in the expression field, try to save.

      Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
      Undefined index: expression [views/administration.general.iconmap.edit.php:54]
      Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]
      Undefined index: iconid [views/administration.general.iconmap.edit.php:59]
      Undefined index: iconid [views/administration.general.iconmap.edit.php:63]
      Undefined index: iconid [views/administration.general.iconmap.edit.php:64]
      Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
      Undefined index: inventory_link [views/administration.general.iconmap.edit.php:51]
      Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]
      Undefined index: iconid [views/administration.general.iconmap.edit.php:59]
      Undefined index: iconid [views/administration.general.iconmap.edit.php:63]
      Undefined index: iconid [views/administration.general.iconmap.edit.php:64]
      Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
      Undefined index: inventory_link [views/administration.general.iconmap.edit.php:51]
      Undefined index: expression [views/administration.general.iconmap.edit.php:54]
      Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]

      regression, broken by :

      r31864 | pavels | 2012-12-04 11:51:13 +0200 (Tue, 04 Dec 2012) | 4 lines

      A.F....... ZBX-5927 fixed selectMappings returning a hash of mappings instead of an array in iconmap.get
      A.F....... ZBX-5927 fixed preservekeys affecting selectSelements and selectLinks in map.get
      A.F....... ZBX-5927 removed unused selectLinks parameter from CMapElement::getSelements()
      A......... ZBX-5927 code refactoring

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              richlv richlv
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: