[Koha-bugs] [Bug 5474] Missing sys prefs in translated sysprefs.sql

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 7 06:36:28 CET 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5474

--- Comment #1 from Frédéric Demians <frederic at tamil.fr> 2010-12-07 05:36:26 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.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list