[Koha-bugs] [Bug 16331] TestBuilder does not allow undef/NULL values
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 26 10:47:53 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16331
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chris at bigballofwax.co.nz
--- Comment #3 from Chris Cormack <chris at bigballofwax.co.nz> ---
Yep
kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ prove
t/db_dependent/TestBuilder.t
t/db_dependent/TestBuilder.t .. 3/41 DBD::mysql::st execute failed: Cannot
delete or update a parent row: a foreign key constraint fails
(`koha_kohadev`.`edifact_messages`, CONSTRAINT `emfk_basketno` FOREIGN KEY
(`basketno`) REFERENCES `aqbasket` (`basketno`)) [for Statement "DELETE FROM
`aqbasket` WHERE ( `basketno` = ? )" with ParamValues: 0='17'] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
DBIx::Class::Storage::DBI::_dbh_execute(): Cannot delete or update a parent
row: a foreign key constraint fails (`koha_kohadev`.`edifact_messages`,
CONSTRAINT `emfk_basketno` FOREIGN KEY (`basketno`) REFERENCES `aqbasket`
(`basketno`)) at /home/vagrant/kohaclone/t/lib/TestBuilder.pm line 92
DBIx::Class::Storage::TxnScopeGuard::DESTROY(): A
DBIx::Class::Storage::TxnScopeGuard went out of scope without explicit commit
or error. Rolling back. at /usr/share/perl5/DBIx/Class/Exception.pm line 77
Can't really test (fails before patch)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list