Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.3rc1, 2.1.0
    • Component/s: API (A)
    • Labels:

      Description

      http://www.zabbix.com/documentation/2.0/manual/appendix/api/host/massremove
      I tried to delete macros from host by name, but it impossible because:
      api/classes/CHost.php line 2149
      if (isset($data['macros'])) {
      $result = API::UserMacro()->delete(zbx_toArray($data['macros']));
      if (!$result)

      { self::exception(); }

      }
      But API::UserMacro()->delete() must receive macrosid, not name of macros.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: