From: Bill Erickson Date: Fri, 1 Aug 2014 18:19:36 +0000 (-0400) Subject: log pcrud personality json_query attempts loudly to ease transition X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a426da2ec846b19f4a16387e881ddd988f3c7b04;p=working%2FEvergreen.git log pcrud personality json_query attempts loudly to ease transition Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm index 59175c8101..11ed74ae80 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm @@ -938,6 +938,9 @@ sub json_query { my( $self, $arg, $options ) = @_; if( $self->personality eq 'open-ils.pcrud' ) { + $logger->error("json_query is not allowed when using the ". + "open-ils.pcrud personality of CStoreEditor: " .Dumper($arg)); + $self->event( OpenILS::Event->new( 'JSON_QUERY_NOT_ALLOWED',