View Issue Details

IDProjectCategoryView StatusLast Update
0015472mantisbtbugtrackerpublic2014-09-23 18:05
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.2.15Fixed in Version1.2.15 
Summary0015472: email_bug_reminder() API's return array is always full list of recipients
Description

As per comment in function header, it should return a list of users to whom the reminder e-mail was actually sent (i.e. exclude failures, blank e-mails, etc).

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 
child of 0015471 closeddregad bug_reminder.php does not handle unsent reminders 

Activities

grangeway

grangeway

2013-04-05 17:56

reporter   ~0036094

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master-1.2.x 1002f8aa

2013-02-07 06:20

dregad


Details Diff
Fix return value of email_bug_reminder()

The function now returns an array containing only the users to whom the
reminder e-mail was actually sent (i.e. excludes failures, blank e-mails,
etc).

In addition, the return value is now an array of user id's instead of
user names, which indeed makes more sense from an API perspective, as
mentioned by Julian Fitzell in 5ea3d0bc837ef14fd66b63d63e5481ea3addcf29,
since the function's only caller is bug_reminder.php which exclusively
relies on user id's.

Fixes 0015472
Affected Issues
0015472
mod - core/email_api.php Diff File

MantisBT: master 389b2a65

2013-02-07 06:20

dregad


Details Diff
Fix return value of email_bug_reminder()

The function now returns an array containing only the users to whom the
reminder e-mail was actually sent (i.e. excludes failures, blank e-mails,
etc).

In addition, the return value is now an array of user id's instead of
user names, which indeed makes more sense from an API perspective, as
mentioned by Julian Fitzell in 5ea3d0bc837ef14fd66b63d63e5481ea3addcf29,
since the function's only caller is bug_reminder.php which exclusively
relies on user id's.

Fixes 0015472
Affected Issues
0015472
mod - core/email_api.php Diff File