[Koha-bugs] [Bug 23049] Replace MANUAL_INV authorised value with a dedicated table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 18 10:10:50 CEST 2019


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

--- Comment #200 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
[FAIL] t/db_dependent/Accounts.t
[OK] t/db_dependent/Circulation.t
[OK] t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
[OK] t/db_dependent/Circulation/Returns.t
[OK] t/db_dependent/Circulation/issue.t
[FAIL] t/db_dependent/Koha/Account.t
[OK] t/db_dependent/Circulation/issue.t
[OK] t/db_dependent/Koha/Account/DebitType.t
[OK] t/db_dependent/Koha/Account/DebitTypes.t
[FAIL] t/db_dependent/Koha/Account/Lines.t
[OK] t/db_dependent/Koha/Patron.t
[OK] t/db_dependent/Reserves.t
[OK] t/db_dependent/SIP/Transaction.t
[FAIL] t/db_dependent/api/v1/patrons_accounts.t

t/db_dependent/api/v1/patrons_accounts.t .. DBD::mysql::st execute failed:
Cannot add or update a child row: a foreign key constraint fails
(`koha_master`.`accountlines`, CONSTRAINT `accountlines_ibfk_debit_type`
FOREIGN KEY (`debit_type_code`) REFERENCES `account_debit_types` (`code`) ON
UPDATE CASCADE) [for Statement "INSERT INTO `accountlines` ( `amount`,
`amountoutstanding`, `borrowernumber`, `branchcode`, `date`, `debit_type_code`,
`description`, `interface`, `manager_id`) VALUES ( ?, ?, ?, ?, NOW(), ?, ?, ?,
? )" with ParamValues: 0=50, 1=50, 2=2930, 3='wfeFkt_9', 4='N', 5='A
description', 6='test', 7=2930] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm
line 1836.
=> Looks like the description is copied to the debit code ?

The other tests stumble over:
DBIx::Class::Storage::DBI::_dbh_execute(): CONSTRAINT `accountlines_check_type`
failed for `koha_master`.`accountlines` at /usr/share/koha/Koha/Object.pm line
156

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


More information about the Koha-bugs mailing list