Bugzilla – Attachment 111823 Details for
Bug 26612
Error during web install for it-IT translation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26612: Error during web install for it-IT translation
Bug-26612-Error-during-web-install-for-it-IT-trans.patch (text/plain), 4.01 KB, created by
Katrin Fischer
on 2020-10-16 00:58:18 UTC
(
hide
)
Description:
Bug 26612: Error during web install for it-IT translation
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-10-16 00:58:18 UTC
Size:
4.01 KB
patch
obsolete
>From 6a4cd0c9a45a6e0bd4ab12b52e8e1952879ba85c Mon Sep 17 00:00:00 2001 >From: John Fawcett <john@voipsupport.it> >Date: Mon, 12 Oct 2020 13:06:40 +0200 >Subject: [PATCH] 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> >--- > .../mysql/it-IT/marcflavour/unimarc/necessari/unimarc_framework.sql | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/it-IT/marcflavour/unimarc/necessari/unimarc_framework.sql b/installer/data/mysql/it-IT/marcflavour/unimarc/necessari/unimarc_framework.sql >index b3876be482..07890ac3da 100644 >--- a/installer/data/mysql/it-IT/marcflavour/unimarc/necessari/unimarc_framework.sql >+++ b/installer/data/mysql/it-IT/marcflavour/unimarc/necessari/unimarc_framework.sql >@@ -466,7 +466,7 @@ insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,` > insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values ('304','a','Testo di nota','',0,0,'',3,'','','',0,-5,'','','',NULL); > insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values ('305','a','Testo di nota','',0,0,'',3,'','','',0,-5,'','','',NULL); > insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values ('306','a','Testo di nota','',0,0,'',3,'','','',0,-5,'','','',NULL); >-insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values ('307','a','Testo di nota','',0,0,'',3,'','','',NULL,NULL,'',NULL,NULL,NULL); >+insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values ('307','a','Testo di nota','',0,0,'',3,'','','',0,-5,'','','',NULL); > insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values ('308','a','Testo di nota','',0,0,'',3,'','','',0,-5,'','','',NULL); > insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values ('310','a','Testo di nota','',0,0,'',3,'','','',0,-5,'','','',NULL); > insert into `marc_subfield_structure`(`tagfield`,`tagsubfield`,`liblibrarian`,`libopac`,`repeatable`,`mandatory`,`kohafield`,`tab`,`authorised_value`,`authtypecode`,`value_builder`,`isurl`,`hidden`,`frameworkcode`,`seealso`,`link`,`defaultvalue`) values ('311','a','Testo di nota','',0,0,'',3,'','','',0,-5,'','','',NULL); >-- >2.11.0
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 26612
:
111257
|
111510
|
111823
|
111832