[Koha-bugs] [Bug 32357] Set borrower_message_preferences.days_in_advance default to NULL

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 28 23:23:41 CET 2022


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

--- Comment #3 from Lari Taskula <lari.taskula at hypernova.fi> ---
Not sure how to test it thoroughly, but any case using SetMessagingPreference()
should not be affected as mentioned in comment #1 - as far as I understand only
direct SQL INSERT to borrower_message_preferences and inserts with DBIx object
(or TestBuilder) may cause regression. I found five tests making such
insertions using
$ grep -rn 'BorrowerMessagePreference'
and
$ grep -rn 'borrower_message_preferences'

t/db_dependent/cronjobs/advance_notices_digest.t
t/db_dependent/Letters/TemplateToolkit.t
t/db_dependent/Koha/CurbsidePickups.t
t/db_dependent/Koha/Patrons.t
t/db_dependent/Patron/Messaging.t

I'll add these to the patch description.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list