[Koha-bugs] [Bug 13897] Use XML files for installer data
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 17 14:21:46 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13897
--- Comment #21 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 96370
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96370&action=edit
Bug 13897: Use YAML files for installer data
This patch modifies C4/Installer.pm to add support
for loading YAML files into database.
As an example of the functionality, optional
auth_val.sql file is replaced by auth_val.yml
The rationale behind this feature is to enable the
translation of the data that is loaded into the
database. That will be addressed in another bug.
But taking into account that goal, translatable
values are declared in the YAML files, to ease
identification by translate script.
To test:
0) Do a clean install with all optional data,
then dump authorised_values table, reserve.
1) Apply the patch
2) Do a clean install in English (marc21/unimarc)
3) On optional data check for description of auth_val
"Some basic default authorised values for ..."
4) Select all optional data
5) Finish installation
6) Dump again authorised_values table and compare with that
of point '0'.
Expected differences: most rows now have 'lib_opac' field
with the same value as 'lib'
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list