]> git.koha-community.org Git - koha.git/commit
Bug 26612: Error during web install for it-IT translation
authorJohn Fawcett <john@voipsupport.it>
Mon, 12 Oct 2020 11:06:40 +0000 (13:06 +0200)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 17 Nov 2020 04:33:47 +0000 (17:33 +1300)
commitec86fa6ea75264058cc137e103adc25a8dae3b6c
tree8db218aa6d3272db260bbadcde42e33fda9da0e4
parent70348d8d4da5d777a08cb3ad6908ad0719c4b544
Bug 26612: Error during web install for it-IT translation

Patch changes some of the values in the sql statement that inserts 307a
unimarc row into the marc_subfield_structure which created an SQL error
on installation.

The fields changed are:
- isurl now 0 instead of NULL,
- hidden now -5 instead of NULL,
- seealso empty string instead of NULL,
- link empty string instead of NULL.

These field values are now similar to the ones inserted for 306a or 308a.
The value that caused the SQL error was using NULL for hidden (due to
the NOT NULL constraint in the table definition).

I have tested the install with this change and found no issues.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7c74c6636f779bbbaceee74f8704df9ec625815d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 3973ef10b6b68eb4550dacf2c5a99475040dfdd1)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
installer/data/mysql/it-IT/marcflavour/unimarc/necessari/unimarc_framework.sql