View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010971 | mantisbt | bugtracker | public | 2009-09-22 08:37 | 2009-10-07 14:19 |
Reporter | cmfitch1 | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 1.2.0rc2 | Fixed in Version | 1.2.0rc2 | ||
Summary | 0010971: Email about new bug sent before plugins are notified | ||||
Description | Email is sent in bug_report.php before plugins are notified via EVENT_REPORT_BUG to post-process data. This results in missing or incorrect information in the email. | ||||
Tags | patch | ||||
Attached Files | issue_10971.patch (771 bytes)
From 17a473789bd09feadc4d5fb9c728f7af6913179d Mon Sep 17 00:00:00 2001 From: Frank Rodgers <frodgers@redcom.com> Date: Mon, 21 Sep 2009 15:27:01 -0400 Subject: [PATCH] moved the call to email new bug to allow the plugin event to be processed prior to sending email. diff --git a/bug_report.php b/bug_report.php index 3e30133..7a5ff28 100644 --- a/bug_report.php +++ b/bug_report.php @@ -166,13 +166,13 @@ } } - email_new_bug( $t_bug_id ); - helper_call_custom_function( 'issue_create_notify', array( $t_bug_id ) ); # Allow plugins to post-process bug data with the new bug ID event_signal( 'EVENT_REPORT_BUG', array( $t_bug_data, $t_bug_id ) ); + email_new_bug( $t_bug_id ); + form_security_purge( 'bug_report' ); html_page_top1(); -- 1.6.0.4 | ||||
MantisBT: master-1.2.x 8977d9c3 2009-09-21 15:27 Committer: dhx Details Diff |
Fix 0010971: Email about new bug sent before plugins are notified Email is sent in bug_report.php before plugins are notified via EVENT_REPORT_BUG to post-process data. This results in missing or incorrect information in the email. Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010971 |
|
mod - bug_report.php | Diff File | ||
MantisBT: master 3cb1185b 2009-09-21 15:27 Committer: dhx Details Diff |
Fix 0010971: Email about new bug sent before plugins are notified Email is sent in bug_report.php before plugins are notified via EVENT_REPORT_BUG to post-process data. This results in missing or incorrect information in the email. Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010971 |
|
mod - bug_report.php | Diff File |