[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
Wed Oct 23 16:01:50 CEST 2019


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

--- Comment #217 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
t/db_dependent/Accounts.t (Wstat: 768 Tests: 33 Failed: 3)
  Failed tests:  12-14
t/db_dependent/ILSDI_Services.t .. ok
All tests successful.
t/db_dependent/Koha/Account/Offsets.t .. ok
All tests successful.
t/db_dependent/Members.t .. ok
All tests successful.

prove t/db_dependent/Koha/Account.t
t/db_dependent/Koha/Account.t .. 3/11 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`, `issue_id`, `itemnumber`, `manager_id`, `note`,
`payment_type`) VALUES ( ?, ?, ?, ?, NOW(), ?, ?, ?, ?, ?, ?, ?, ? )" with
ParamValues: 0=5, 1=5, 2=169, 3='X8YVxu', 4='failure', 5='type validation
failure', 6='commandline', 7=undef, 8=undef, 9=169, 10='this should fail
anyway', 11=undef] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1836.
t/db_dependent/Koha/Account.t .. ok
All tests successful.
=> Please check for me if this exception was intended (it seems). Should we
catch the warning instead ?

t/db_dependent/Koha/Account/Lines.t .. ok
All tests successful.

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


More information about the Koha-bugs mailing list