Katrin Fischer <> changed:

           What    |Removed                     |Added
             Status|Signed Off                  |Failed QA
                 CC|                            |

--- Comment #11 from Katrin Fischer <> ---
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
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/ 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.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to