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!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001238 [In-Portal CMS] Email Templates bug report always 2012-03-30 11:15 2012-07-25 05:31
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B3
Status closed Product Version 5.1.3 Target Version 5.2.0
Time EstimateNo estimate
Summary 0001238: Giving empty "to_name" and "to_email" parameters during e-mail sending results in Fatal Error
Description I recently had a case, when I was sending a e-mail to subscribers, but each of them had either email or user id filled-in.

I used following code:

$send_params = Array ();
$send_params['to_name'] = $email;
$send_params['to_email'] = $email;
$this->Application->EmailEventUser('EVENT.NAME', $user_id, $send_params);


And I've discovered a bug, that when user have $id, but not e-mail empty recipient is added resulting Fatal Error during e-mail sending.
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-bugs/VoQfWFRgFnU/discussion
Change Log Message Fixing fatal error on e-mail sending with empty recipient
Estimate Points 1
Attached Files patch file icon dont_send_email_to_empty_recipient.patch [^] (775 bytes) 2012-03-30 11:15 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0001207closed (5.2.0)alex Ability to subscribe to any system event from e-mail event 

-  Notes
User avatar (0004534)
alex (manager)
2012-03-30 11:18

Will test all together later.
User avatar (0004535)
alex (manager)
2012-03-30 11:19

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001238: Giving empty "to_name" and "to_email" parameters during e-mail sending results in Fatal Error
User avatar (0004944)
alex (manager)
2012-07-25 05:31

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15248
Timestamp: 2012-03-30 11:19:34
Author: alex
Details ] Diff ]
Fixes 0001238: Giving empty "to_name" and "to_email" parameters during e-mail sending results in Fatal Error
mod - /in-portal/branches/5.2.x/core/kernel/utility/email.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:31 alex Note Added: 0004944
2012-07-25 05:31 alex Status resolved => closed
2012-03-30 11:19 alex Changeset attached 5.2.x r15248
2012-03-30 11:19 alex Note Added: 0004535
2012-03-30 11:19 alex Status reviewed and tested => resolved
2012-03-30 11:19 alex Fixed in Version => 5.2.0-B3
2012-03-30 11:19 alex Resolution open => fixed
2012-03-30 11:19 alex Assigned To !COMMUNITY => alex
2012-03-30 11:18 alex Relationship added related to 0001207
2012-03-30 11:18 alex Note Added: 0004534
2012-03-30 11:18 alex Status needs testing => reviewed and tested
2012-03-30 11:18 alex Assigned To => !COMMUNITY
2012-03-30 11:18 alex Developer => alex
2012-03-30 11:18 alex Status active => needs testing
2012-03-30 11:17 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/VoQfWFRgFnU/discussion
2012-03-30 11:15 alex New Issue
2012-03-30 11:15 alex File Added: dont_send_email_to_empty_recipient.patch
2012-03-30 11:15 alex Change Log Message => Fixing fatal error on e-mail sending with empty recipient
2012-03-30 11:15 alex Estimate Points => 1



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

Powered by Mantis Bugtracker