[ZBX-16005] Simple macros containing regsub in event names are upgraded to *UNKNOWN* Created: 2019 Apr 16 Updated: 2024 Apr 10 Resolved: 2019 May 01 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.0.6, 4.2.0, 4.4.0alpha1, 4.4 (plan) |
Fix Version/s: | 4.0.8rc1, 4.2.2rc1, 4.4.0alpha1, 4.4 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Vladislavs Sokurenko | Assignee: | Vladislavs Sokurenko |
Resolution: | Fixed | Votes: | 0 |
Labels: | events, triggers, unknown, upgrade | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Team: | |||||||||
Sprint: | Sprint 51 (Apr 2019) | ||||||||
Story Points: | 0.5 |
Description |
Generate problem event with following trigger in 3.4 and value 13:
trap1_trig {ITEM.VALUE} {ITEM.LASTVALUE} {{ITEM.VALUE}.regsub("([0-9])", \0)}
Perform upgrade to 4.0: See: trap1_trig 13 13 *UNKNOWN* Expected: trap1_trig 13 13 1 regsub is not handled properly |
Comments |
Comment by Vladislavs Sokurenko [ 2019 Apr 16 ] |
Fixed in development branch: |
Comment by Vladislavs Sokurenko [ 2019 Apr 24 ] |
Fixed in:
|