[Koha-bugs] [Bug 12139] New: Preference name saved all lowercase
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 25 11:14:54 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12139
Bug ID: 12139
Summary: Preference name saved all lowercase
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: System Administration
Assignee: koha-bugs at lists.koha-community.org
Reporter: pasi.kallinen at pttk.fi
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com
If a preference doesn't exist in the database, saving that preference via the
UI will result the preference name set in all lowercase in the database. This
means those preferences that have any uppercase characters won't find the
value, eg. in templates.
To test:
1) select * from systempreferences where variable like 'advancedMARCeditor';
(note the way the "variable" is in db: "advancedMARCeditor")
2) delete from systempreferences where variable like 'advancedMARCeditor';
3) Go to system preferences, edit and save advancedMARCeditor setting.
4) select * from systempreferences where variable like 'advancedMARCeditor';
(note the way the "variable" is in db: "advancedmarceditor")
--
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