[ZBX-3148] User macro on template level not expanded in trigger names Created: 2010 Oct 27 Updated: 2017 May 30 Resolved: 2012 May 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 2.0.0rc4 |
Type: | Incident report | Priority: | Minor |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | macros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
last trunk rev |
Attachments: | usermacro_in_template_and_others.png |
Description |
Suppose, we define user macro {$UPSNAME} at template level and use it in Item description(name) created for this template. In list of Items for this is template the macro is not expanded. Macro $1 also not expanded. This is bad. Macro {$UPSNAME} and $1 in trigger name is not expanded in all Configuration menu (except tool-tip with trigger list), even the macro {$UPSNAME} is defined at host level, although |
Comments |
Comment by richlv [ 2011 Aug 30 ] |
trunk rev 21363. both user & positional ($1) macros resolve ok in item names now. in trigger names neither resolves |
Comment by richlv [ 2012 Jan 26 ] |
still there in 1.8 branch rev 25028. |
Comment by dimir [ 2012 Jan 26 ] |
User macros are resolved in Monitoring->Triggers properly. |
Comment by Toms (Inactive) [ 2012 May 08 ] |
Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-3148 |
Comment by Eduards Samersovs (Inactive) [ 2012 May 09 ] |
Tested |
Comment by Toms (Inactive) [ 2012 May 09 ] |
Fixed in 2.0.0rc4 r27364 |