Bugzilla – Attachment 71420 Details for
Bug 20144
Test suite is failing with new default SQL modes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20144: [sql_modes] Shorten cities.city_zipcode
Bug-20144-sqlmodes-Shorten-citiescityzipcode.patch (text/plain), 1.32 KB, created by
Julian Maurice
on 2018-02-12 10:03:51 UTC
(
hide
)
Description:
Bug 20144: [sql_modes] Shorten cities.city_zipcode
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2018-02-12 10:03:51 UTC
Size:
1.32 KB
patch
obsolete
>From b5bad6a673afeb31daa1d7e2f9f45ffa9cccaf80 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 5 Feb 2018 16:03:03 -0300 >Subject: [PATCH] Bug 20144: [sql_modes] Shorten cities.city_zipcode > >It's a varchar(20) > >Fix for: >Data too long for column 'city_zipcode' > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > t/db_dependent/Koha/Cities.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/Cities.t b/t/db_dependent/Koha/Cities.t >index 9947d3b917..acf44b3a04 100644 >--- a/t/db_dependent/Koha/Cities.t >+++ b/t/db_dependent/Koha/Cities.t >@@ -35,13 +35,13 @@ my $nb_of_cities = Koha::Cities->search->count; > my $new_city_1 = Koha::City->new({ > city_name => 'my_city_name_for_test_1', > city_state => 'my_city_state_for_test_1', >- city_zipcode => 'my_city_zipcode_for_test_1', >+ city_zipcode => 'my_zipcode_4_test_1', > city_country => 'my_city_country_for_test_1', > })->store; > my $new_city_2 = Koha::City->new({ > city_name => 'my_city_name_for_test_2', > city_state => 'my_city_state_for_test_2', >- city_zipcode => 'my_city_zipcode_for_test_2', >+ city_zipcode => 'my_zipcode_4_test_2', > city_country => 'my_city_country_for_test_2', > })->store; > >-- >2.14.2
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 20144
:
71410
|
71411
|
71412
|
71413
|
71414
|
71415
|
71416
|
71417
|
71418
|
71419
| 71420 |
71421
|
71422
|
71423
|
71424
|
71425
|
71427
|
71428
|
71429
|
71430
|
71431
|
71432
|
71434
|
71435
|
71436
|
71437
|
71438
|
71440
|
71441
|
71442
|
71443
|
71444
|
71445
|
71446
|
71447
|
71448
|
71449
|
71450
|
71451
|
71452
|
71453
|
71454
|
71455
|
71456
|
71457
|
71458
|
71459
|
71460
|
71461
|
71462
|
71463
|
71467
|
71564