Summary: | Missing sys prefs in translated sysprefs.sql | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | Installation and upgrade (web-based installer) | Assignee: | Henri-Damien LAURENT <henridamien> |
Status: | CLOSED DUPLICATE | QA Contact: | Bugs List <koha-bugs> |
Severity: | major | ||
Priority: | P5 - low | CC: | chris, dev_patches, f.demians, fridolin.somers, gmcharlt, magnus, paul.poulain |
Version: | rel_3_2 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 5531 | ||
Bug Blocks: |
Description
Katrin Fischer
2010-12-06 14:09:39 UTC
This has been discussed on koha-devel mailing list. For example: http://listes.koha-fr.org/pipermail/koha-devel/2010-July/034214.html The syspref SQL file is required during installation to populate systemepreferences table with default value. It isn't needed for anything else being replaced by .pref files which are translatable. Table syspreferences description, type and other fields are deprecated. When a new syspref is added -- It must be added in: - installer/data/mysql/en/mandatory/syspref.sql to define default value. - installer/data/mysql/updatedatabase.sql to update an existing installation. A DB upgrade must be done: SOMEONE should describe the exact procedure. - koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/ in the appropriate subdirectory and .pref file. When a syspref is updated: - .pref file must be modified - If a default value is required: installer/data/mysql/en/mandatory/syspref.sql - If necessary, a DB update and a message to explain what has to be done by Koha admin concerning the new syspref. HomeOrHoldingBranchReturn is also missing from *.pref. This preference can't be edited. branch pushed wip/sysprefs_translated on wip/koha-biblibre.git It removes some sysprefs used in the code though. So maybe would need some more reconciliation with .pref and sysprefs.sql work. *** Bug 6441 has been marked as a duplicate of this bug. *** I started an RFC for less error-prone handling of sysprefs on the wiki: http://wiki.koha-community.org/wiki/Simplified_syspref_handling_RFC |