Bugzilla – Attachment 151021 Details for
Bug 28328
Editing a record can cause an ISE if data too long for column
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28328: DBIC schema changes
Bug-28328-DBIC-schema-changes.patch (text/plain), 2.79 KB, created by
Martin Renvoize (ashimema)
on 2023-05-10 16:10:35 UTC
(
hide
)
Description:
Bug 28328: DBIC schema changes
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-05-10 16:10:35 UTC
Size:
2.79 KB
patch
obsolete
>From 3d1882fa62932126235cb908e82b13598cf40cbd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 3 May 2023 15:41:51 +0200 >Subject: [PATCH] Bug 28328: DBIC schema changes > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/Biblioitem.pm | 9 ++++----- > Koha/Schema/Result/Deletedbiblioitem.pm | 9 ++++----- > 2 files changed, 8 insertions(+), 10 deletions(-) > >diff --git a/Koha/Schema/Result/Biblioitem.pm b/Koha/Schema/Result/Biblioitem.pm >index 94d62f451a..2711d3a566 100644 >--- a/Koha/Schema/Result/Biblioitem.pm >+++ b/Koha/Schema/Result/Biblioitem.pm >@@ -174,9 +174,8 @@ publication place (MARC21 260$a) > > =head2 lccn > >- data_type: 'varchar' >+ data_type: 'longtext' > is_nullable: 1 >- size: 25 > > library of congress control number (MARC21 010$a) > >@@ -294,7 +293,7 @@ __PACKAGE__->add_columns( > "place", > { data_type => "varchar", is_nullable => 1, size => 255 }, > "lccn", >- { data_type => "varchar", is_nullable => 1, size => 25 }, >+ { data_type => "longtext", is_nullable => 1 }, > "url", > { data_type => "mediumtext", is_nullable => 1 }, > "cn_source", >@@ -358,8 +357,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q5VdRYkLa95Kc96wiwLh/g >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-03 13:35:04 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4+THJV78AKMkqswe76Ul0Q > > __PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" ); > >diff --git a/Koha/Schema/Result/Deletedbiblioitem.pm b/Koha/Schema/Result/Deletedbiblioitem.pm >index f0804b5e13..9eb3d9ffd3 100644 >--- a/Koha/Schema/Result/Deletedbiblioitem.pm >+++ b/Koha/Schema/Result/Deletedbiblioitem.pm >@@ -173,9 +173,8 @@ publication place (MARC21 260$a) > > =head2 lccn > >- data_type: 'varchar' >+ data_type: 'longtext' > is_nullable: 1 >- size: 25 > > library of congress control number (MARC21 010$a) > >@@ -288,7 +287,7 @@ __PACKAGE__->add_columns( > "place", > { data_type => "varchar", is_nullable => 1, size => 255 }, > "lccn", >- { data_type => "varchar", is_nullable => 1, size => 25 }, >+ { data_type => "longtext", is_nullable => 1 }, > "url", > { data_type => "mediumtext", is_nullable => 1 }, > "cn_source", >@@ -320,8 +319,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("biblioitemnumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rGXNjpclQJ3+na+MYa4YFA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-03 13:35:04 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/l/jW3IssAIEgceZPBIEGQ > > sub koha_objects_class { > 'Koha::Old::Biblioitems'; >-- >2.40.1
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 28328
:
150583
|
150584
|
150585
|
150586
|
150587
|
150588
|
151020
| 151021 |
151022