-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.0
-
None
-
Sprint 64 (May 2020), Sprint 65 (Jun 2020)
-
0.5
Simple macros ({host:key.func()}) use evaluate_LAST() to resolve last(), prev() functions. Now evaluate_LAST() automatically quotes/escapes text values which breaks the value mapping.
We could unquote text values before value mapping lookup, that would be a quick fix. Proper fix probably might be to change evaluate_LAST() to return unquoted value and then quote when inserting it into expressions (that depends if item type is available at that level, but most probably it is).
- caused by
-
ZBXNEXT-702 Compare last "text" value with any other string
- Closed