]> git.koha-community.org Git - koha.git/commit
Bug 31086: Throw an exception when a hold is stored with no branchcode
authorNick Clemens <nick@bywatersolutions.com>
Fri, 1 Jul 2022 14:44:09 +0000 (14:44 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Jul 2022 17:19:17 +0000 (14:19 -0300)
commite7d886d388dc9825c6e93a158e19f7da60db145b
treed178c014c3cdf4cca1b6b6a81bfcc59813329d6f
parent1565efe8f3e4c782e4d94a6c06cc71d2ac460d43
Bug 31086: Throw an exception when a hold is stored with no branchcode

To test:
1 - Apply first 2 patches
2 - On staff client, find a biblio, place hold, select a patron
3 - Before creating hold, right click on 'Pickup location'
4 - Inspect the element
5 - In the console find the top <li> for pickup, and right click
6 - Select 'Delete node'
7 - Save hold
8 - You get an exception/error

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Exceptions/Hold.pm
Koha/Hold.pm