[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 Aug 26 18:38:09 CEST 2018


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78145|0                           |1
        is obsolete|                            |
  Attachment #78156|0                           |1
        is obsolete|                            |

--- Comment #5 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 78173
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78173&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!

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