[Koha-bugs] [Bug 22824] Replace YAML::Syck with YAML::XS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 15 11:55:09 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22824

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #42 from Julian Maurice <julian.maurice at biblibre.com> ---
(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.


More information about the Koha-bugs mailing list