t/db_dependent/api/v1/bookings.t .. 2/5 DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Duplicate entry '6' for key 'PRIMARY' at /kohadevbox/koha/Koha/Object.pm line 172
Created attachment 168142 [details] [review] Bug 36936: Squash warning in bookings test Simple catch for the warning throwing by DuplicateID exceptions in the bookings.t api tests. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Trivial patch to catch and test for the thrown warning instead of letting it pass through in the tests. Straight SO
Created attachment 168219 [details] [review] Bug 36936: Squash warning in bookings test Simple catch for the warning throwing by DuplicateID exceptions in the bookings.t api tests. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Pushed for 24.11! Well done everyone, thank you!
Created attachment 169611 [details] [review] Bug 36936: (QA follow-up) Make the test work on MySQL 8.x Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Pushed follow-up to main to fix issues with MySQL 8.x: https://jenkins.koha-community.org/job/Koha_Main_My8/1322/consoleFull
Backported to 24.05.x for upcoming 24.05.06
Pushed to 23.11.x for 23.11.11