From 6014c4c1b76310f4d218e2b0ca2b484da9274772 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sat, 23 Aug 2014 22:25:08 -0400 Subject: [PATCH] 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 --- lib/NCIP/ILS/Evergreen.pm | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.11.0