Bug 25678 - Checkout stuck "Loading... you may continue scanning" because of Javascript error
Summary: Checkout stuck "Loading... you may continue scanning" because of Javascript e...
Status: RESOLVED DUPLICATE of bug 25293
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-05 00:40 UTC by David Cook
Modified: 2020-06-05 08:41 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***