Use of uninitialized value in numeric le (<=) at /kohadevbox/koha/C4/Circulation.pm line 3151. Use of uninitialized value in addition (+) at /kohadevbox/koha/C4/Circulation.pm line 3158. Use of uninitialized value in numeric le (<=) at /kohadevbox/koha/C4/Circulation.pm line 3151. Use of uninitialized value in addition (+) at /kohadevbox/koha/C4/Circulation.pm line 3158. Use of uninitialized value in numeric le (<=) at /kohadevbox/koha/C4/Circulation.pm line 3151. Use of uninitialized value in addition (+) at /kohadevbox/koha/C4/Circulation.pm line 3158.
Created attachment 183991 [details] [review] Bug 40350: Remove warnings from t/db_dependent/Holds.t Use of uninitialized value in numeric le (<=) at /kohadevbox/koha/C4/Circulation.pm line 3151. Use of uninitialized value in addition (+) at /kohadevbox/koha/C4/Circulation.pm line 3158. Use of uninitialized value in numeric le (<=) at /kohadevbox/koha/C4/Circulation.pm line 3151. Use of uninitialized value in addition (+) at /kohadevbox/koha/C4/Circulation.pm line 3158. Use of uninitialized value in numeric le (<=) at /kohadevbox/koha/C4/Circulation.pm line 3151. Use of uninitialized value in addition (+) at /kohadevbox/koha/C4/Circulation.pm line 3158. $issue->renewal_count is undefined in C4::Circulation:3151, but it's NOT NULL in DB We need to refetch the row to get the default defined at the DB level
Created attachment 184027 [details] [review] Bug 40350: Remove warnings from t/db_dependent/Holds.t Use of uninitialized value in numeric le (<=) at /kohadevbox/koha/C4/Circulation.pm line 3151. Use of uninitialized value in addition (+) at /kohadevbox/koha/C4/Circulation.pm line 3158. Use of uninitialized value in numeric le (<=) at /kohadevbox/koha/C4/Circulation.pm line 3151. Use of uninitialized value in addition (+) at /kohadevbox/koha/C4/Circulation.pm line 3158. Use of uninitialized value in numeric le (<=) at /kohadevbox/koha/C4/Circulation.pm line 3151. Use of uninitialized value in addition (+) at /kohadevbox/koha/C4/Circulation.pm line 3158. $issue->renewal_count is undefined in C4::Circulation:3151, but it's NOT NULL in DB We need to refetch the row to get the default defined at the DB level Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Nice work everyone! Pushed to main for 25.11