Handle invalid agencies in NCIP::ILS::Evergreen.
authorJason Stephenson <jstephenson@mvlc.org>
Mon, 5 Oct 2015 18:41:44 +0000 (14:41 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Mon, 5 Oct 2015 19:18:06 +0000 (15:18 -0400)
commit40fbedb60507e8963c378c782c828f59ef97600d
tree94f6c5c993f61a3624053454e3d2d0d787c496ca
parent389623572c269f7263165d34e27a0846610986e6
Handle invalid agencies in NCIP::ILS::Evergreen.

We modify NCIP::ILS::Evergreen->find_location_failover to return an
undefined value in the event of failure to lookup an agency.

We then modify the requestitem and cancelrequestitem handlers to
return a Problem message if the lookup fails for their selection
org. units.  These appear to be the only two places possilby
affected by a failure to find a location.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
lib/NCIP/ILS/Evergreen.pm