I thought this was already being done, but alas. If you do a web install in Norwegian and choose NORMARC as the MARC dialect, the marcflavor syspref gets set to MARC21, not NORMARC. I hope the solution can be as simple as including something like this in the SQL file for the default NORMARC framework: UPDATE systempreferences SET value = 'normarc' WHERE variable = 'marcflavor'; But I will have to look at the order in which things are loaded by the webinstaller first.
Created attachment 15909 [details] [review] Bug 9752 - Set marcflavour = NORMARC when NORMARC is chosen Currently, if you install the Norwegian translations and run through the web installer in Norwegian, choosing NORMARC as you marcflavour, the marcflavour syspref is set to MARC21. To test: - Apply the patch - Install nb-NO - Run through the web installer, choosing nb-NO as the language - Choose NORMARC as the MARC dialect - When the web installer is done, check the value of the marcflavour syspref. It should be NORMARC, not MARC21.
So the solution was not in the SQL file as I initially thought, but in Installer.pm.
Created attachment 16080 [details] [review] Bug 9752: Set marcflavour to NORMARC when NORMARC is chosen Currently, if you install the Norwegian translations and run through the web installer in Norwegian, choosing NORMARC as you marcflavour, the marcflavour syspref is set to MARC21. To test: - Apply the patch - Install nb-NO - Run through the web installer, choosing nb-NO as the language - Choose NORMARC as the MARC dialect - When the web installer is done, check the value of the marcflavour syspref. It should be NORMARC, not MARC21. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Created attachment 17052 [details] [review] [PASSED QA] Bug 9752: Set marcflavour to NORMARC when NORMARC is chosen Currently, if you install the Norwegian translations and run through the web installer in Norwegian, choosing NORMARC as you marcflavour, the marcflavour syspref is set to MARC21. To test: - Apply the patch - Install nb-NO - Run through the web installer, choosing nb-NO as the language - Choose NORMARC as the MARC dialect - When the web installer is done, check the value of the marcflavour syspref. It should be NORMARC, not MARC21. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Did a regression test installing UNIMARC too. All tests and QA script pass.
This patch has been pushed to master.
Pushed to 3.10.x will be in 3.10.5
Works as expected (tested with packages built off current master).