Description |
In In-Portal 5.1.2 we've introduced e-mail event syntax check before saving (see 0000822) to prevent user from getting Fatal Error due incorrect template syntax when e-mail event will be sent.
However if you'll have a project were e-mail email events have template syntax errors in them and you upgrade this project to 5.1.2 then you still get Fatal Error, when trying to send out that e-mail event (because no automatic way to fix e-mails events, that are broken).
Also when trying to enable/disable these e-mail events from e-mail event list you'll get "Query method undefined" error and selected e-mail events will still be in same status as before.
Template syntax checking code was reworked in 5.2.0-RC1 to use PHP exceptions (http://lv.php.net/manual/en/language.exceptions.php), but by mistake this code was made PHP 5.3.0+ compatible only (see http://lv.php.net/manual/en/exception.construct.php) due $previous parameter usage, that was added only in PHP 5.3.0. |