[Koha-bugs] [Bug 23548] AQ field required in checkin response

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 13 13:44:34 CEST 2022


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

--- Comment #11 from Stefan Berndtsson <stefan.berndtsson at ub.gu.se> ---
(In reply to Martin Renvoize from comment #9)
> I'm convinced, and looked up the specs to confirm. Now we just need a unit
> test to protect us from later regressions ;-).
> 
> Are you able to submit that, of should I add it to my list to try and get to
> soon?

I'm unable to run the existing tests for two reasons.

1. I get:
  DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Cannot add or update a child row: a foreign key constraint
fails (`koha_koha`.`checkout_renewals`, CONSTRAINT `renewals_renewer_id`
FOREIGN KEY (`renewer_id`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE
SET NULL ON UPDATE CASCADE)


2. test_checkout_v2 assumes that circulation rules are set in some specific way
in the database and does not mock those values in the test. (This may apply to
other tests as well).

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


More information about the Koha-bugs mailing list