https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10227

Chris Cormack <ch...@bigballofwax.co.nz> changed:

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

--- Comment #3 from Chris Cormack <ch...@bigballofwax.co.nz> ---
Created attachment 55385
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55385&action=edit
Bug 10227 : Fix GetMessagingPreferences when digest is possible

This bug is a bit tricky to test, as the result is somehow  random, depending
on the order of rows returned by sql request. You've got to change the
preferences several times to see bad results.

Enable EnhancedMessaging preferences
Set preferences for a borrower or a category.
run misc/cronjobs/advance_notices.pl and look in message_queue table the
letter_code of the generated messages.
Change digest selection and do the test again several times

Without patch, for message where digest is allowed (Advance_Notice, Item_Due),
for a borrower or a category with 'wants_digest' selected,
GetBorrowerMessagingPreferences returns sometimes letter_code with DGST and
sometimes not.

With the patch, letter_code returned is always correct depending on digest
selected or not

Signed-off-by: Chris Cormack <chr...@catalyst.net.nz>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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