[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 20:00:54 CEST 2018


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

Christopher Brannon <cbrannon at cdalibrary.org> changed:

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

--- Comment #14 from Christopher Brannon <cbrannon at cdalibrary.org> ---
Created attachment 78973
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78973&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>

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


More information about the Koha-bugs mailing list