Bug 14673: Work around change to AddIssue return
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 11 Aug 2015 15:51:53 +0000 (16:51 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Sun, 29 Nov 2015 20:27:06 +0000 (21:27 +0100)
commit374f5f4a38883d351d441412cfdf4785bbe7f4b6
tree33e92a8ea6811ed5e176f120097e6e0def4e1d56
parent0d0b4ae8486888a37ab09bd1e8f211c30e43b943
Bug 14673: Work around change to AddIssue return

Return from AddIssue used to be due date or undef.
Now it is less straightforward returning am issue object
if an issue row is created or undef. If the issue is a renewal
undef is returned. As that case was not handled properly it
caused the server site to crash the listener causing a
communications error on the client.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b4967bf0ed60c5cca0c7f60591d21d2919f477a1)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/SIP/ILS/Transaction.pm
C4/SIP/ILS/Transaction/Checkout.pm
C4/SIP/ILS/Transaction/Renew.pm