In-Portal Issue Tracker - In-Portal CMS
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Type:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
1238 |
[In-Portal CMS] Email Templates |
bug report |
always |
2012-03-30 11:15 |
2012-07-25 05:31 |
|
Reporter:
|
alex |
Platform:
|
|
|
Assigned To:
|
alex |
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
closed |
Product Version:
|
5.1.3 |
|
Product Build:
|
|
Resolution:
|
fixed |
|
|
ETA:
|
none |
Fixed in Version:
|
5.2.0-B3 |
|
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 |
|
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. |
Steps To Reproduce:
|
|
Additional Information:
|
|
Relationships | related to | 0001207 | closed (5.2.0) | alex | Ability to subscribe to any system event from e-mail event |
|
Attached Files:
|
dont_send_email_to_empty_recipient.patch (775) 2012-03-30 11:15 http://tracker.in-portal.org/file_download.php?file_id=1580&type=bug |
|
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 |