[Koha-bugs] [Bug 20930] Validate and cache parsed YAML/JSON type system preferences
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 30 07:50:51 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20930
Ere Maijala <ere.maijala at helsinki.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #76384|0 |1
is obsolete| |
--- Comment #11 from Ere Maijala <ere.maijala at helsinki.fi> ---
Created attachment 91863
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91863&action=edit
Bug 20930: Display human readable errors in preferences page
Displays human readable error when YAML/JSON preference has invalid syntax.
If multiple preferences are modified at the same time, notifies librarian of
the
preferences that were saved and the ones that had errors.
To test:
1. Apply patches
2. Write invalid YAML syntax to OpacHiddenItems system preference
3. Observe "Error; Preference OpacHiddenItems has invalid syntax" error
4. Write valid YAML syntax to OpacHiddenItems system preference
5. Observe "Saved preference OpacHiddenItems" message
6. Test steps 2-5 for both single preference modification and together
with other system preferences.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list