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)
committerLiz Rea <wizzyrea@gmail.com>
Thu, 10 Dec 2015 01:26:25 +0000 (14:26 +1300)
commitc61e33e6f0962026c32a9be80b05cb20ab17d7b7
treec2f985de90eaaa8e304458f874f74cf9baa5db19
parent744da173721dfe8a7bcd0e211a8f0d253e6aeb0e
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>
(cherry picked from commit 374f5f4a38883d351d441412cfdf4785bbe7f4b6)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
C4/SIP/ILS/Transaction.pm
C4/SIP/ILS/Transaction/Checkout.pm
C4/SIP/ILS/Transaction/Renew.pm