]> git.evergreen-ils.org Git - SIPServer.git/commit
LP#1298985: Protect against bad summary types
authorThomas Berezansky <tsbere@mvlc.org>
Fri, 28 Mar 2014 13:27:56 +0000 (09:27 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 16 Jun 2015 15:12:50 +0000 (15:12 +0000)
commit667084c63d113c32c6a8f2bd03d613ae57fe4b2d
tree9cff92a4d14dfb859a76bff3965a34eb61cc67da
parentcffea8a217a1bc0b8de1714e291a098eefda4e75
LP#1298985: Protect against bad summary types

Ensure that if we are asked for summary information in Patron Information that
we have any form of definition for it *and* we have code to call. If neither
case is true pretend they didn't ask for any to begin with.

Testing notes
-------------
Here is an example of the sort of request that, prior to this patch,
could cause a SIPServer backend to crash:

6300020150615    111700      Y   AOUinst|AAuser|

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Sip/MsgType.pm