[Koha-bugs] [Bug 21597] Test suite is still failing with new default SQL modes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 18 15:04:33 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21597
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #80812|0 |1
is obsolete| |
Attachment #80813|0 |1
is obsolete| |
Attachment #80814|0 |1
is obsolete| |
Attachment #80815|0 |1
is obsolete| |
Attachment #80816|0 |1
is obsolete| |
Attachment #80821|0 |1
is obsolete| |
--- Comment #14 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 80829
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80829&action=edit
Bug 21597: Column 'notforloan' cannot be null
Fix t/db_dependent/Circulation.t
items.notforloan:
`notforloan` tinyint(1) NOT NULL DEFAULT '0',
t/db_dependent/Circulation.t .. 115/119 DBD::mysql::st execute failed: Column
'notforloan' cannot be null [for Statement "UPDATE `items` SET `notforloan` = ?
WHERE ( `itemnumber` = ? )" with ParamValues: 0=undef, 1='1046'] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
# No tests run!
# Failed test 'No tests run for subtest "item-level_itypes = 0"'
# at t/db_dependent/Circulation.t line 2356.
# Looks like you failed 1 test of 2.
# Failed test 'CanBookBeIssued | notforloan'
# at t/db_dependent/Circulation.t line 2359.
Can't locate object method "rethrow" via package "DBD::mysql::st execute
failed: Column 'notforloan' cannot be null [for Statement "UPDATE `items` SET
`notforloan` = ? WHERE ( `itemnumber` = ? )" with ParamValues: 0=undef,
1='1046'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list