[ZBX-24091] User macros are no longer resolved in function part of error message for triggers and calculated items Created: 2024 Feb 14 Updated: 2024 Apr 10 Resolved: 2024 Apr 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 6.4.12rc1, 7.0.0beta2 |
Fix Version/s: | 6.4.14rc1, 7.0.0beta3, 7.0 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Sergejs Olonkins | Assignee: | Dmitrijs Goloscapovs |
Resolution: | Fixed | Votes: | 0 |
Labels: | errormessage, macro, resolution | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() |
Team: | |
Sprint: | S24-W10/11, S24-W12/13 |
Story Points: | 0.3 |
Description |
Problem description: User macros are no longer resolved in function part of error messages that occur when something is wrong in trigger expression or calculated item formula. For example, there's a host with 2 user macros "{$A}" and "{$B}" that have some values. The same host has a trapper item and a trigger with the following expression: From this error message it is not clear which macro has the wrong value, because user macros are not resolved in the function part of this error message. In 6.0 the behavior is different - the macros are expanded both in function part and the error part of the error message: Steps to reproduce:
Result: In the error message, macros are not resolved in the trigger function part and it's unclear from the error message which macro value caused the error. |
Comments |
Comment by Dmitrijs Goloscapovs [ 2024 Mar 28 ] |
Available in versions:
|