In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Dependency Graph View Issue ] Relation Graph ] Horizontal ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0001327 [In-Portal CMS] Template System bug report always 2012-06-19 03:53 2012-07-25 05:29
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0001327: Denying e-mail event produces fatal error (only on PHP < 5.3.0)
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.
Additional Information



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker