Koha/svc
Blou c6f7496422 Bug 14846 - Items with no holdingbranch causes svc/holds to crash
When trying to display the holds for a user, if an item has no
holdingbranch, it causes the svc/holds service to crash and the display
to freeze.

Tentative steps to reproduce on any DB:
1) put 1 or more items on hold for a given user.
2) go into the database and set the item.holdingbranch to NULL
3) In the user's page, in checkouts (circulation.pl), click the tab that
   should be written 1 Hold(s)
4) It will be "Processing" indefinitely.

The cause is the svc/holds code that crashes.  The fix will validate
that there's an holdingbranch before proceding with the code.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2015-12-11 16:20:39 +00:00
..
cataloguing Bug 11559: Rancor: advanced cataloging interface 2015-10-27 12:17:39 -03:00
config Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members Bug 14782: Add possibility to search patrons using the username (userid) 2015-09-16 10:36:56 -03:00
records Bug 11395: New service to preview a record. 2015-03-05 15:27:03 +01:00
virtualshelves Bug 14528: Inconsistency in permissions check when listing shelves 2015-10-05 12:26:19 -03:00
authentication Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
barcode Bug 13545 [QA Followup] - Complete POD documentation 2015-02-13 13:48:45 -03:00
bib Bug 11559: Supporting changes for Rancor 2015-10-27 12:16:05 -03:00
bib_profile Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
checkin Bug 13330 - All overdue items with fines returned via checkouts table will have fines forgiven! 2014-11-25 15:25:14 -03:00
checkouts Bug 13024 - Nonpublic note not appearing in the staff client 2015-12-04 14:47:57 +00:00
cover_images Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
holds Bug 14846 - Items with no holdingbranch causes svc/holds to crash 2015-12-11 16:20:39 +00:00
import_bib Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
letters Bug 13215: The same letter code can be used for several libraries 2014-11-27 11:42:14 -03:00
localization Bug 14100: Better errors handling 2015-10-27 12:34:07 -03:00
new_bib Bug 11559: (QA followup) fix several small issues 2015-10-27 12:25:01 -03:00
renew Bug 11298: Don't force the renew time to 23:59 2015-10-19 11:51:28 -03:00
report Bug 13880 - Allow svc/report to be passed sql parameters 2015-04-22 11:48:40 -03:00