Bug 25678

Summary: Checkout stuck "Loading... you may continue scanning" because of Javascript error
Product: Koha Reporter: David Cook <dcook>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, jonathan.druart, kyle.m.hall
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23690
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description David Cook 2020-06-05 00:40:34 UTC
checkouts.js creates fatal Javascript errors when it tries to run "escapeHtml()" on null values. 

This typically happens when a title or some other data element is null.

That said, in theory many of these data elements shouldn't be null. 

But... we shouldn't be dying on Javascript errors either. We should catch the condition and do something about it.
Comment 1 Jonathan Druart 2020-06-05 08:41:54 UTC

*** This bug has been marked as a duplicate of bug 25293 ***