[Koha-bugs] [Bug 21257] Patrons checkout table throws JS error when location/collection not defined

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 16 21:01:05 CEST 2018


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78973|0                           |1
        is obsolete|                            |

--- Comment #15 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 78991
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78991&action=edit
Bug 21257: (bug 13618 follow-up) Handle undef values in JS before escapeHtml
call

To test:
1 - Find an item with no collection or location defined
2 - Check it out to a patron
3 - Note you cannot view the checkouts table
4 - Check the console: TypeError: oObj.collection is null
5 - Apply patch
6 - Restart all the things
7 - Checkouts table should load

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

Signed-off-by: Christopher Brannon <cbrannon at cdalibrary.org>
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

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


More information about the Koha-bugs mailing list