]> git.koha-community.org Git - koha.git/commit
Bug 26853: Harmonize import_biblios with biblio and biblioitems
authorDavid Cook <dcook@prosentient.com.au>
Thu, 29 Oct 2020 05:20:53 +0000 (05:20 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 3 Nov 2020 08:12:38 +0000 (09:12 +0100)
commite39b9684d5cd0ce15a3d1f07d7691b832309287b
tree9e6eeef1d11345d29318a916332780ce915dfc18
parentbd63fb2bb941294371a072fea9fc2f930ff5bf3f
Bug 26853: Harmonize import_biblios with biblio and biblioitems

This patch harmonizes the column datatypes of import_biblios
with biblio and biblioitems to prevent database errors which cause
staged MARC uploads to sometimes fail to update 100% correctly.

To test:
1. Go to http://localhost:8081/cgi-bin/koha/tools/stage-marc-import.pl
2. Upload a file with MARC records with titles longer than 128
characters long
3. Click "Stage for import"
4. Monitor /var/log/koha/kohadev/intranet-error.log for
database errors
5. Note that there are no database errors

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/001-26853-update-import_biblios.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql