[Koha-bugs] [Bug 28281] New: Installer doesn't work on some languages (pl-PL) because it double decodes installer data
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 4 10:32:16 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28281
Bug ID: 28281
Summary: Installer doesn't work on some languages (pl-PL)
because it double decodes installer data
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Installation and upgrade (web-based installer)
Assignee: koha-bugs at lists.koha-community.org
Reporter: joonas.kylmala at helsinki.fi
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
Blocks: 27623
If trying to install Koha with pl-PL language it doesn't work due to double
encoding error in C4/Installer.pm:
$ koha-mysql kohadev < installer/data/mysql/kohastructure.sql
$ restart_all
$ ./translate update pl-PL
$ ./translate install pl-PL
$ restart_all
--> Go to installer page and select pl-PL as installer language, click through
it and notice it gives error:
> Cannot decode string with wide characters at /usr/lib/x86_64-linux-gnu/perl/5.24/Encode.pm line 202
In installer the output of two calls YAML::XS::LoadFile is still decoded
another time even though according to YAML::XS documentation the call to Load
already decodes it. This causes the above error to happen in the MARC21
installation step.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27623
[Bug 27623] Remove pl-PL installer data
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list