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

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Won't fix
    • Affects Version/s: 3.0.5rc1, 3.2.1rc1, 3.4.0alpha1
    • Fix Version/s: None
    • Component/s: 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

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

              Dates

              Created:
              Updated:
              Resolved: