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

Cannot remove host or template macros with context, unless fully matching the syntax.

XMLWordPrintable

    • Technical backlog, Sprint 107 (Dec 2023), S2401

      Documenation states:
      The following macros are all equivalent, because they have the same context: {$MACRO:A}, {$MACRO: A} and {$MACRO:"A"}.

      However this is not fully taken into account when trying to mass-remove matching macros from hosts or templates via mass update.

      Steps to reproduce:

      • Add {$MACRO:"abc"} to some host or template, {$MACRO: abc} for another.
      • From the list, mark the hosts and click on "Mass update".
      • Enter {$MACRO:abc} to be removed, click "Update".

      Result:
      Macros were not removed.

      Expected:
      Macros removed, no matter the saved or entered context syntax variation.

            zabbix.dev Zabbix Development Team
            jfreibergs Janis Freibergs
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: