[Koha-bugs] [Bug 23580] Add C4::Context->yaml_preference

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 10 16:49:20 CEST 2019


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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 92691
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92691&action=edit
Bug 23580: Add C4::Context->yaml_preference

This patch adds a new methods to be used on YAML-based sysprefs. The
idea is that we would use it instead of handling the YAML decoding
in-place everywhere we use YAML syprefs.

Ideally, we could even move pipe separated values sysprefs into YAML,
etc.

To test:
- Apply this patches
- Run:
  $ kshell
 k$ prove t/Context.t
=> SUCCESS: Tests pass!
- Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list