https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22824
Julian Maurice <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #42 from Julian Maurice <[email protected]> --- (In reply to Jonathan Druart from comment #41) > Created attachment 116883 [details] [review] > Bug 22824: Prevent YesNo to be filled with invalid values > > This patch prevents koha-preferences to set other values than 1/0 to be > used for YesNo prefs This patch does not work. If I execute misc/admin/koha-preferences set viewMARC 2 it warns "System preference viewMARC is YesNo and expects 1 or 0. '2' was given, using '0' (OK) but the value is set to '2'. (NOT OK) And the dump subcommand output is different from master. On master it prints a serie of <sysprefName>: <sysprefValue> but with the patches it prints <sysprefName>: type: <sysprefType> value: <sysprefValue> variable: <sysprefName> which prevents to do things like: koha-preferences dump | koha-preferences load -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
