[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
Sat Sep 15 01:42:23 CEST 2018


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

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

--- Comment #11 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 78849
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78849&action=edit
[ALTERNATIVE-PATCH] 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>

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


More information about the Koha-bugs mailing list