[ZBX-11206] User macros with comma in context are incorrectly parsed inside trigger function parameters in calculated items Created: 2016 Sep 14 Updated: 2017 May 30 Resolved: 2016 Sep 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 3.0.5rc1, 3.2.1rc1, 3.4.0alpha1 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | Glebs Ivanovskis (Inactive) | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | calculateditems, macrocontext, macros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
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.". |
Comments |
Comment by Glebs Ivanovskis (Inactive) [ 2016 Sep 19 ] |
Since it is not so critical and can be worked around by quoting and escaping I'm closing this issue. Mentioned that some improvement can be done as a side note in |