[Koha-devel] System preference question

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Tue Oct 28 16:03:51 CET 2014


Yes, they should be in the sql file and updatedatabase.

But if the pref somehow does not exist and the code can handle that, Koha does a good job imho.



________________________________
Van: koha-devel-bounces at lists.koha-community.org [koha-devel-bounces at lists.koha-community.org] namens Mark Tompsett [mtompset at hotmail.com]
Verzonden: dinsdag 28 oktober 2014 15:35
Aan: koha-devel at lists.koha-community.org
Onderwerp: [Koha-devel] System preference question

Greetings,

I was looking at Bug 9580, and came across the non-problem of non-existent system preferences. That is, the system preference does not exist in the systempreferences table, but that didn’t stop me from creating it on the fly when I set the system preference in the staff client, because the .pref file had been modified and updating it created the missing system preference, and it did not cause any difficulties in actually testing.

Should all system preferences be in syspref.sql?
Should all system preferences be created in updatedatabase.pl?
Or are there exceptions like this one, where it just works?

On a related note there is a Wiki page that should reflect this consensus I’m trying to find.
http://wiki.koha-community.org/wiki/System_Preferences

GPML,
Mark Tompsett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20141028/4f43dbc2/attachment.html>


More information about the Koha-devel mailing list