If you give a library as parameter and it does not have rules, all overdues are processed, even if they don't belong to that library. To test this : - not defautlt rules - one site with rules - one other site without rule - overdue issues in both sites - execute : misc/cronjobs/overdue_notices.pl -t -library <code_of_site_without_rules> As a result, a message is generated for every overdue issues in message_queue, not only for the one belonging to the site given as parameter
Created attachment 6517 [details] [review] BZ7287 : Fix overdue notification if a branch given as parameter does not have rules
Ohh good catch Sophie
Created attachment 6557 [details] [review] Bug 7287 : Fix overdue notification if a branch given as parameter does not have rules Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
QA comment : small (1 line patch), no comment patch pushed, please test
Included in 3.6 prior to 3.6.5.