- 
    Problem report 
- 
    Resolution: Fixed
- 
    Trivial 
- 
    7.0.0alpha8
- 
    None
- 
        Sprint 106 (Nov 2023), Sprint 107 (Dec 2023), Sprint candidates, S2401
- 
        1
As a part of fixes done in ZBX-21898 (notably, escaping added for "\" in history function parameters), the following frontend issue was found:
 
Add calculated item to host (note backslash in the string parameter needs to be escaped):
count(/Zabbix server/trap1, #1, "eq", "{$MACRO: \"static\\text\"}")
Add macro to host with some 123 value
{$MACRO: "static\text"}
Now open Item test dialog and see that frontend does not propose value for it from existing macros, just
{$MACRO: \"static\\text\"} = {$MACRO: \"static\\text\"}
is shown in the Macros list.
Expected: {$MACRO: "static\text"} = 123 to be listed in Item test dialog.
- caused by
- 
                    ZBX-21898 Add escaping of backslashes in history function parameters. -         
- Closed
 
-