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

Slack integration script contains invalid Javascript

XMLWordPrintable

      The media_slack.yaml template script seems to be containing invalid javascript code.

      The following statement contains an unescaped secondary single quote which causes an "Missing ; before statement" or "Error: Line 116: Unexpected identifier" (depending on the validator)

      throw 'Can't process event tags: ' + error;
      

      This seems to apply to the media_slack.xml of version 5.0 as well. 4.4 and below doesn't appear to be affected as the script is significantly different in that version.

            zabbix.support Zabbix Support Team
            frank Frank
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: