http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12315

Bernardo Gonzalez Kriegel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28481|0                           |1
        is obsolete|                            |

--- Comment #2 from Bernardo Gonzalez Kriegel <[email protected]> ---
Created attachment 28489
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28489&action=edit
[SIGNED-OFF] Bug 12315: Advanced notices are duplicated and not sent to the
right patron

Bug 10833 introduced a variable loop but does not reset it every iteration.

So the first patron receives correct letters, but the followings received
all the previous ones AND his letters.

Test plan:
0/ Delete the content of the message_queue table.
1/ Define advanced notices sent 2 days in advance for 2 patrons.
2/ Check 1 item out for each one and specify a due date today + 2 days.
3/ Launch the advance_notices.pl script.
4/ Before this patch, you got 3 notices. Now, you get 2 notices, 1 for each
patron.

Signed-off-by: Bernardo Gonzalez Kriegel <[email protected]>
Work well, no errors.

Tested following test plan, printing on screen or saving into db,
3 messages before, 2 after (advance_notices.pl -v -n -m 2 -c)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to