[ZBX-10226] Error when changing Trigger's prototype name Created: 2015 Dec 30 Updated: 2017 May 30 Resolved: 2016 Jan 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 3.0.0alpha5 |
Fix Version/s: | 3.0.0beta1 |
Type: | Incident report | Priority: | Major |
Reporter: | Vitaly Zhuravlev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | triggerprototypes | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | screenshot-1.png |
Description |
Error is presented when trying to change trigger's prototype name: To reproduce: 1. Try to change name of some trigger prototype (eg in Template OS Windows). Just change single char. 2. Press Update You would get an error: Cannot update trigger prototype Details Undefined variable: expressionFull [trigger_prototypes.php:210 ? CFrontendApiWrapper->update() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CTriggerPrototype->update() ? CTriggerPrototype->updateReal() in include/classes/api/services/CTriggerPrototype.php:751] Incorrect trigger expression. Check expression part starting from "". Now please note: How you can update the trigger from this point: |
Comments |
Comment by Gunars Pujats (Inactive) [ 2016 Jan 18 ] |
(1) No translation strings changed. sasha CLOSED |
Comment by Gunars Pujats (Inactive) [ 2016 Jan 18 ] |
RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10226 |
Comment by Alexander Vladishev [ 2016 Jan 19 ] |
(2) $descriptionChanged and $expressionChanged are incorrectly initialized sasha RESOLVED in r57799 gunarspujats CLOSED |
Comment by Alexander Vladishev [ 2016 Jan 19 ] |
Successfully tested! |
Comment by Gunars Pujats (Inactive) [ 2016 Jan 19 ] |
Fixed in:
|