Bug 4313

Summary: Language selected in staff client affects value of boolean sysprefs
Product: Koha Reporter: Magnus Enger <magnus>
Component: I18N/L10NAssignee: Frédéric Demians <f.demians>
Status: CLOSED DUPLICATE QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: chris, f.demians
Version: Main   
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:

Description Chris Cormack 2010-05-21 01:25:41 UTC


---- Reported by magnus@enger.priv.no 2010-03-09 20:33:44 ----

When I have selected English as the language in the staff client i get this HTML in the syspref-editor: 

<select name="pref_NoZebra" id="pref_NoZebra" class="preference preference-choice">
<option value="1">Don't use</option>
<option value="">Use</option>
</select>
the Zebra search engine...

When I switch to Norwegian i get this: 

<select name="pref_NoZebra" id="pref_NoZebra" class="preference preference-choice">
<option value="yes">Don't use</option>
<option value="no" selected="selected">Use</option>
</select>
the Zebra search engine...

And the value that is actually stored in the DB is a "yes" or a "no", not a numeric value.



---- Additional Comments From frederic@tamil.fr 2010-03-10 06:11:23 ----

I think it's solved by this patch:
 
http://lists.koha.org/pipermail/koha-patches/2010-March/005752.html



---- Additional Comments From magnus@enger.priv.no 2010-03-15 09:42:59 ----

Yes, that patch solves the problem. 



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:25 UTC  ---

This bug was previously known as _bug_ 4313 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4313

Actual time not defined. Setting to 0.0
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Chris Cormack 2010-12-14 03:05:12 UTC
Am I solved, or am I not .. you be the judge.
Comment 2 Magnus Enger 2010-12-14 16:18:10 UTC
Yes, it would seem I'm solved - by the patch for bug 4465: http://lists.koha.org/pipermail/koha-patches/2010-May/006173.html

*** This bug has been marked as a duplicate of bug 4465 ***