Error is presented when trying to change trigger's prototype name:
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:
A. If you change name BACK (exactly as it was) you could save the trigger proto
B. If you leave the name changed but would go and change trigger proto EXPRESSION as well - you would be able save the trigger proto