From: Jason Stephenson Date: Wed, 10 Sep 2014 12:37:22 +0000 (-0400) Subject: Fix ProblemDescription for ProblemDetail in NCIP::ILS::Evergreen. X-Git-Url: https://git.evergreen-ils.org/?p=working%2FNCIPServer.git;a=commitdiff_plain;h=90d0dbe73a375c34c41ee72eb7f469428657aaee Fix ProblemDescription for ProblemDetail in NCIP::ILS::Evergreen. This fixes a mistake in acceptitem when returning a Duplicate Item problem. The ProblemDetail didn't show up in the response because the constructor erroneously set ProblemDescription instead of ProblemDetail. Signed-off-by: Jason Stephenson --- diff --git a/lib/NCIP/ILS/Evergreen.pm b/lib/NCIP/ILS/Evergreen.pm index 558890a..933045f 100644 --- a/lib/NCIP/ILS/Evergreen.pm +++ b/lib/NCIP/ILS/Evergreen.pm @@ -388,7 +388,7 @@ sub acceptitem { NCIP::Problem->new( { ProblemType => 'Duplicate Item', - ProblemDescription => "Item with barcode $item_barcode already exists.", + ProblemDetail => "Item with barcode $item_barcode already exists.", ProblemElement => $item_idfield, ProblemValue => $item_barcode }