From 90d0dbe73a375c34c41ee72eb7f469428657aaee Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 10 Sep 2014 08:37:22 -0400 Subject: [PATCH] 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 --- lib/NCIP/ILS/Evergreen.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.43.2