[Bug 44071] New: holds_reminder.pl triggers non-unique Koha::Holds lookup when preparing notices
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44071 Bug ID: 44071 Summary: holds_reminder.pl triggers non-unique Koha::Holds lookup when preparing notices Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: Laura.escamilla@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: martin.renvoize@openfifth.co.uk Target Milestone: --- When running `holds_reminder.pl` to generate HOLD_REMINDER notices, Koha produces the following warning: DBIx::Class::Storage::DBI::select_single(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/koha/lib/Koha/Objects.pm line 95 **Steps to reproduce:** 1. Configure HOLD_REMINDER notices and enable hold reminder messaging for a patron. 2. Ensure the patron has qualifying waiting holds. 3. Run the reminder cronjob in dry-run mode: perl /usr/share/koha/bin/cronjobs/holds/holds_reminder.pl \ -v --lettercode HOLD_REMINDER --days 3 4. Observe the DBIx::Class warning in the output. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org