[Koha-bugs] [Bug 20262] Add ability to refund lost item fees without creating credits
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 10 14:09:32 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20262
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
CC| |katrin.fischer at bsz-bw.de
--- Comment #11 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Kyle,
code looks sensible, but I am having problems with the unit tests. Can you have
a look please? Tested on a clean db (reset_all), passes on master, fails with
the patch applied:
# Subtest: _FixAccountForLostAndReturned
1..11
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`koha_kohadev`.`accountlines`, CONSTRAINT
`accountlines_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers`
(`borrowernumber`) ON DELETE CASCADE ON UPDATE CASCADE) [for Statement "INSERT
INTO `accountlines` ( `accounttype`, `amount`, `amountoutstanding`,
`itemnumber`) VALUES ( ?, ?, ?, ? )" with ParamValues: 0='F', 1=10, 2=10,
3='1041'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
# No tests run!
not ok 113 - No tests run for subtest "_FixAccountForLostAndReturned"
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list