]> git.koha-community.org Git - koha.git/commit
Bug 16988 - Suspending a hold with AutoResumeSuspendedHolds disabled results in error
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 27 Jul 2016 18:00:53 +0000 (18:00 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Aug 2016 12:52:49 +0000 (14:52 +0200)
commita6d6b953e41641e9bfcfa74598a58bf9d5039743
tree26f0d98ba9081d68ea15d5c81fb1c14dc09ccc09
parenta6350b8705c98aaecaae3e534dc32325628e5897
Bug 16988 - Suspending a hold with AutoResumeSuspendedHolds disabled results in error

iUnless AutoResumeSuspendedHolds is enabled, attempting to suspend a
hold from reserve/request.pl results in the following error:

The given date (undefined) does not match the date format (us) at
/home/vagrant/kohaclone/Koha/DateUtils.pm line 152.

Test Plan:
1) Enable SuspendHoldsIntranet
2) Disable AutoResumeSuspendedHolds
3) Attempt to suspend or unsuspend a hold
4) Note the error
5) Apply this patch
6) Repeat step 3
7) The hold should suspend or resume correctly

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Megan Wianecki <mwianecki@mtpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 91bc9451d0378d65100c828776b09395e4c88199)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 3810c29f61ebcd815066f1be2abc08cbb2bdc0aa)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt