Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 5.0.0
-
Fix Version/s: 5.0.2rc1, 5.2.0alpha1, 5.2 (plan)
-
Component/s: Server (S)
-
Labels:None
-
Team:Team C
-
Sprint:Sprint 64 (May 2020), Sprint 65 (Jun 2020)
-
Story Points:0.5
Description
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).
Attachments
Issue Links
- caused by
-
ZBXNEXT-702 Compare last "text" value with any other string
-
- Closed
-