From a426da2ec846b19f4a16387e881ddd988f3c7b04 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 1 Aug 2014 14:19:36 -0400 Subject: [PATCH] log pcrud personality json_query attempts loudly to ease transition Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/Utils/CStoreEditor.pm | 3 +++ 1 file changed, 3 insertions(+) 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', -- 2.11.0