[Koha-bugs] [Bug 25293] New: Don't call escapeHtml on null
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 27 16:55:14 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25293
Bug ID: 25293
Summary: Don't call escapeHtml on null
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: didier.gautheron at biblibre.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
EscapeHtml is still called on many fields without testing if they exist:
Uncaught TypeError: Cannot read property 'escapeHtml' of null
Fields like title, branchcode and so on aren't guarantee to be not null.
If they are, for whatever reason, broken items are often next to unfixable
within Koha.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list