From: Jason Stephenson Date: Sun, 24 Aug 2014 02:25:08 +0000 (-0400) Subject: Fix lookupuser problem reporting in Evergreen driver. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6014c4c1b76310f4d218e2b0ca2b484da9274772;p=working%2FNCIPServer.git Fix lookupuser problem reporting in Evergreen driver. Actually set the response object's problem member if we fail to look up the user. Signed-off-by: Jason Stephenson --- diff --git a/lib/NCIP/ILS/Evergreen.pm b/lib/NCIP/ILS/Evergreen.pm index 158ec5f..4fb15e8 100644 --- a/lib/NCIP/ILS/Evergreen.pm +++ b/lib/NCIP/ILS/Evergreen.pm @@ -142,6 +142,7 @@ sub lookupuser { $problem->ProblemDetail("User with barcode $barcode unknown"); $problem->ProblemElement('AuthenticationInputData'); $problem->ProblemValue($barcode); + $response->problem($problem); return $response; }