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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 30 12:36:28 CEST 2020


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

--- Comment #3 from didier <didier.gautheron at biblibre.com> ---
(In reply to Frédéric Demians from comment #2)
> How an item can have a 'homebranch' field empty or how can a biblio record
> have no title?

Hi,

No idea, likely a bug somewhere, but they do.
It seems that some imported MARC data can produce biblio records without title
though.

Anyway, both 
update items set homebranch = null where itemnumber = ...;
and
update biblio set title = null where biblionumber = ...;
don't return an error, thus from the DB DDL POV they are valid, if they are not
then something at the application level has to deal with it.

checkouts.js is likely not the right place, only one with the fewer unexpected
side effects.

Regards
Didier

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


More information about the Koha-bugs mailing list