https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35680
Bug ID: 35680
Summary: YAML system preferences cause error if syspref data is
not YAML string
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
If a YAML preference has a string instead of the expected format, it'll cause
an error - tested with RisExportAdditionalFields and ILLModuleDisclaimerByType
but I'm sure others may cause this too.
To reproduce:
1) Add 'string' to RisExportAdditionalFields sys pref
2) Visit RIS export link:
/cgi-bin/koha/opac-export.pl?op=export&bib=262&format=ris
3) Notice the error
Can't use string ("string") as a HASH ref while "strict refs" in use at
/kohadevbox/koha/C4/Ris.pm line 132
Not critical, but ideally an error like this should not happen in the event
that a system preference has wrong data in it.
Adding bug 33431 as "See also" even though it's not the cause of the issue - as
the test plans info there may also help here.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/