[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
Fri Aug 24 19:25:59 CEST 2018


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 78145
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78145&action=edit
Bug 21257: Return blank strings instead of null in svc/checkouts

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: Tomas Cohen Arazi <tomascohen at theke.io>
Works as expected!

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


More information about the Koha-bugs mailing list