View Issue Details

IDProjectCategoryView StatusLast Update
0003121mantisbtemailpublic2003-12-13 04:38
Reportergpatters Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.18.0a4 
Summary0003121: When Creating a bug that has custom fields, the values for the custom fields are not sent out in the email.
Description

When creating bugs that contains custom fields the values of the custom fields are not sent out, just the name of the custom field shows up.

This was tracked down to sending out the e-mail before the custom field values are updated in the database. This problem occurs when ever custom values are changed and an e-mail is sent out.

Additional Information

I made a modification to bug_update.php to move the call to bug_update() after the custom field values have been updated. (moved it down about 10 lines.) This works most cases for me as my custom fields are blank when they are created but can change after. There is still a problem when you create a report with data in custom fields and an e-mail is sent out.

In short, the custom_field data needs to be entered into the database before the e-mail is sent out.

:-)

This is in version 0.18.0a4

TagsNo tags attached.

Activities

vboctor

vboctor

2003-04-17 08:08

manager   ~0004191

Fixed in CVS. Will be available in 0.18.0a5.

Related Changesets

MantisBT: master 60e4f70d

2003-04-17 02:07

vboctor


Details Diff
Fix 0003121: When creating a bug that has custom fields, the values for the custom fields are not sent out in the email.

M core/bug_api.php
- (bug_create): Removed the call to email_new_bug().

M bug_report.php
- Added the call to email_new_bug() after finalising the process of adding the bug.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2151 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0003121
mod - core/bug_api.php Diff File
mod - doc/ChangeLog Diff File
mod - bug_report.php Diff File