View Issue Details

IDProjectCategoryView StatusLast Update
0014396mantisbtemailpublic2014-07-11 12:04
ReporterJanHegewald Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version1.2.5 
Summary0014396: E-Mail notification on assignment not working when assigning while reporting issue
Description

The e-mail notification is not working when the following is done: assign an issue while reporting. Preconditions for this are the following configuration options: sending e-mail just to the assignee in case of assignment.
Nevertheless, it is working when you additionally check the following configuration option: send e-mail to assignee on status change to status 'new'.

Steps To Reproduce

1.) Configure e-mail sending with the following options checked: send e-mail to assignee on assignment.
2.) Report an issue and in the same step assign the issue to somebody else then you. --> no e-mail notification
3.) Report an issue an don't assign it immediatelly, but in a next update step. --> e-mail notification is sent
4.) Configure e-mail sending with the following options additionally checked to the previously: send e-mail to assignee on status change to status 'new'.
5.) Report an issue and in the same step assign the issue to somebody else then you. --> e-mail notification is sent

Additional Information

I did not try if this is fixed in newer versions (> 1.2.5) of Mantis.

TagsNo tags attached.

Activities

atrol

atrol

2012-06-20 05:27

developer   ~0032121

1.) Configure e-mail sending with the following options checked: send e-mail to assignee on assignment.

Where can I find the option: "send e-mail to assignee on assignment"

DO you mean row "E-mail on Change of Handler" column "User who is handling the issue" on page manage_config_email_page.php with it?

dregad

dregad

2012-06-20 06:55

developer   ~0032122

I can confirm this behavior (also on 1.2.11). It's due to the fact that in bug_report.php function email_new_bug() is called (line 225), which triggers a check against the corresponding 'new' notification flag for 'handler' in email_collect_recipients() line 217.

However, I believe this is intended behavior, even though the configuration is somewhat misleading (email on 'new' but actual issue status is 'assigned'), because in fact the "main" event is the creation of a new bug (that happens to be immediately assigned), more than an actual assignment.

JanHegewald

JanHegewald

2012-06-20 07:05

reporter   ~0032123

Last edited: 2012-06-20 07:05

@atrol: yes, is the correct row and column.

@dregad: OK, as you can handle this with also setting the e-mail sending option for a status change to status 'new' for the 'user who is handling the issue', it is no problem for me if you say this is intended. We are just using Mantis in a little bit other way than it is intended by you/the other developers when setting the handler while reporting.

Thanks for your feedback on this, atrol and dregad.

dregad

dregad

2014-06-23 04:08

developer   ~0040841

Following feedback from JanHegewald and considering that the desired behavior can be achieved with a simple configuration of email notifications, I'm resolving this issue as no change required.