Bugzilla – Attachment 80815 Details for
Bug 21597
Test suite is still failing with new default SQL modes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21597: Incorrect date value: '0' for column 'onloan'
Bug-21597-Incorrect-date-value-0-for-column-onloan.patch (text/plain), 1.08 KB, created by
Jonathan Druart
on 2018-10-18 12:12:18 UTC
(
hide
)
Description:
Bug 21597: Incorrect date value: '0' for column 'onloan'
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-18 12:12:18 UTC
Size:
1.08 KB
patch
obsolete
>From df07e5eec8f6729171bc539b849830c62910dcee Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 17 Oct 2018 19:21:56 -0300 >Subject: [PATCH] Bug 21597: Incorrect date value: '0' for column 'onloan' > >Fix t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t > >items.onloan > `onloan` date DEFAULT NULL, > >DBIx::Class::Storage::DBI::_dbh_execute(): Incorrect date value: '0' for >column 'onloan' at row 1 at /home/vagrant/kohaclone/t/lib/TestBuilder.pm >line 288 >--- > t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t b/t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t >index a5237d9aa3..645616c7cf 100755 >--- a/t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t >+++ b/t/db_dependent/Holds/DisallowHoldIfItemsAvailable.t >@@ -225,7 +225,7 @@ my $item3 = $builder->build({ > notforloan => 0, > withdrawn => 0, > damaged => 0, >- onloan => 0 >+ onloan => undef, > } > }); > >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21597
:
80812
|
80813
|
80814
|
80815
|
80816
|
80821
|
80829
|
80830
|
80831
|
80832
|
80833
|
80834
|
80852
|
80853
|
80854
|
80855
|
80856
|
80857