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

User macros with comma in context are incorrectly parsed inside trigger function parameters in calculated items

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Won't fix
    • 3.0.5rc1, 3.2.1rc1, 3.4.0alpha1
    • None
    • Server (S)

    Description

      Documentation claims that user macro context containing comma does not need to be quoted. However, calculated item formula:

      count(dummy.echo[{$ECHO}],10m,{$MACRO:context with , character})
      

      results in error:

      Cannot evaluate expression: "Cannot evaluate function "count(10m,{$MACRO:context with , character})": operator "character}" is not supported for function COUNT.".
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: