View Issue Details

IDProjectCategoryView StatusLast Update
0010650mantisbtemailpublic2009-10-07 14:19
Reporterbpfennig Assigned Todhx  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.0rc1 
Target Version1.2.0rc2Fixed in Version1.2.0rc2 
Summary0010650: Mantis ignore e-mail notification setting for "e-mail on new" in account preferences
Description

It seems the e-mail notification setting for "e-mail on new" in the account preferences is ignored since 1.2.0rc1.

Steps To Reproduce

Disable "e-mail on new" in account preferences - you will still receive e-mail notifications for new issues.

TagsNo tags attached.

Activities

ryandesign

ryandesign

2009-06-29 19:48

reporter   ~0022313

That would explain why I'm suddenly getting all these new ticket emails from this Mantis installation.

pluntke

pluntke

2009-06-30 02:01

reporter   ~0022316

Last edited: 2009-06-30 02:04

I have a similar issue: I do NOT get E-Mail when changing status to anthing else but 'new' or 'resolved' though it is set to send E-Mail in any event.

(The e-mail even is NOT send when adding a note while changing the status - so the fact that I've added a note seems to be ignored when I do it while changing the status - maybe that's by design?)

dhx

dhx

2009-06-30 13:46

reporter   ~0022334

Confirmed on this bug tracker. Thanks for the bug report.

pluntke

pluntke

2009-07-01 19:46

reporter   ~0022352

I've got more detailed information now:
I get an E-Mail for new, feedback, resolved, closed

I do NOT get an E-Mail for assigned (which I have overwritten by my_assigned).
And I do NOT get an E-Mail for 3 additional self-definted status and
I do NOT get an E-Mail for 'confirmed'.

The last is what lead me to a possible reason: On the manage users page the line "E-Mail on confirmed" is missing (like all lines for self-defined status).

It seems that this has to be added to
core/user_pref_api.php
account_prefs_inc.php
account_prefs_update.php
admin/schema.php
config_defaults.php or rather custom_config.php

Is there an easier way to get E-Mail notification for customized status?

dhx

dhx

2009-08-07 09:59

reporter   ~0022694

OK email_on_new should now be fixed in 1.2.x and 1.3.x (master).

Please note that the email preferences you see are not meant to match the actual statuses you're using in your Mantis installation. "Resolved" as seen in the email preferences doesn't refer to the "resolved" status but rather, it refers to the concept of a bug being considered fixed/resolved. For instance, you may have a custom workflow configured where a bug is only considered resolved once it reaches the "tested" status.

The notification system is in desperate need of an overhaul (which I haven't done in fixing this bug). I've tried to apply some interim fixes for 1.2.x to at least gain some sanity before hopefully an overhaul of how we handle notifications.

Related Changesets

MantisBT: master-1.2.x a5cc3eb1

2009-08-07 09:50

dhx


Details Diff
Fix 0010650: email_on_new preference has no effect

The notification preferences weren't working correctly due to a range of
bugs and poor architecture within email_api.

This fix cleans up a bit of the mess and in the process, ensures that
email_on_new and other user customisable statuses once again are taken
into consideration.
Affected Issues
0010650
mod - core/email_api.php Diff File

MantisBT: master 33a8395e

2009-08-07 09:50

dhx


Details Diff
Fix 0010650: email_on_new preference has no effect

The notification preferences weren't working correctly due to a range of
bugs and poor architecture within email_api.

This fix cleans up a bit of the mess and in the process, ensures that
email_on_new and other user customisable statuses once again are taken
into consideration.
Affected Issues
0010650
mod - core/email_api.php Diff File