]> git.evergreen-ils.org Git - Evergreen.git/commit
bug 614150: bail out on ACTOR_USER_NOT_FOUND
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Aug 2010 01:22:39 +0000 (01:22 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 6 Aug 2010 01:22:39 +0000 (01:22 +0000)
commit5952e9fc0f027e56ae1de8c88495977eaa3fa449
tree4cc483a5af139fea1bdfdc62f82181825d91ed56
parent21d30bb494267ff36fd83b1df90e434eeab5df7a
bug 614150: bail out on ACTOR_USER_NOT_FOUND

This fixes a bug where uploading an offline checkout
that refers to a missing patron returns an INTERNAL_SERVER_ERROR
instead of ACTOR_USER_NOT_FOUND.  More generally, this avoids
an exception in case case where a circ operation is made
without checking the existence of the patron record beforehand.

mk_env could use a better name, too.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_1@17115 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm