[Koha-bugs] [Bug 25293] Don't call escapeHtml on null

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 28 16:18:12 CEST 2020


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

--- Comment #1 from didier <didier.gautheron at biblibre.com> ---
Created attachment 103862
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103862&action=edit
Bug 25293: Don't call escapeHtml on null

 Test Plan:

    1) Create two Checkouts
    2) view patron's checkout list
cgi-bin/koha/members/moremember.pl?borrowernumber=pp <show checkout>
    3) in mysql shell delete a checkout home branch: update items set
homebranch = null where itemnumber = xx;
    4) view patron's checkout list, again

    Without this patch the list is empty.

    Same if biblio title is null (update biblio set title = null where
biblionumber = yy;).
    Javascript error:
    TypeError: oObj.title is null

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


More information about the Koha-bugs mailing list