]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Jun 2016 11:45:01 +0000 (11:45 +0000)
commit1a9674fd3a8d8c898d8dc208d6e3d0296daeca40
treec7bdfbaf0cc9ab426c406d72c570bce89359c9a9
parenta879efb574028be78f0706f36bd5e1e11d54dfc2
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>
C4/Circulation.pm