]> git.koha-community.org Git - koha.git/commit
Bug 16534: Block AddIssue from issuing if the return is not possible
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 22 May 2016 09:01:56 +0000 (10:01 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 16 Aug 2016 12:11:06 +0000 (14:11 +0200)
commit865ee1803860e1d626700f2220d7e06f19a6510b
treed373e3ab33c0d910245188f906a7fa0a90521045
parentfcdbe914ccd2e60bbe6877b9e0373a55f6c06e45
Bug 16534: Block AddIssue from issuing if the return is not possible

To make sure the return can be done, AddIssue must not trust callers (they
should have done their job, but we are not sure) and check that the issue can
be returned before issuing to the patron.

There is no test plan here, this should not be possible from the Koha
interface.
However, looking at the code, it may be possible using SIP.

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 1a9674fd3a8d8c898d8dc208d6e3d0296daeca40)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 2cc01d139a9e24b320a12af485143670ed006e23)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Circulation.pm