]> 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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 17 Nov 2020 11:49:43 +0000 (12:49 +0100)
commitfb36dfd6fa08265e6d5baae83737f6eb740920c6
tree1aaf2710c1c1d57e63b5ad15abb86e45bf7e5ff5
parentcd71f5ba7228858926edf220f74eff9b4e1bd114
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>
(cherry picked from commit ec86fa6ea75264058cc137e103adc25a8dae3b6c)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
installer/data/mysql/it-IT/marcflavour/unimarc/necessari/unimarc_framework.sql