From 03e5ad2532a9bc3da26127c434b740fb9dad8313 Mon Sep 17 00:00:00 2001 From: scottmk Date: Tue, 11 Aug 2009 21:01:41 +0000 Subject: [PATCH] Undo previous change. NULL can be a legitimate value for value. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13814 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/c-apps/oils_cstore.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Open-ILS/src/c-apps/oils_cstore.c b/Open-ILS/src/c-apps/oils_cstore.c index 65be642b9..27ec54ab3 100644 --- a/Open-ILS/src/c-apps/oils_cstore.c +++ b/Open-ILS/src/c-apps/oils_cstore.c @@ -1501,29 +1501,6 @@ static jsonObject* doCreate(osrfMethodContext* ctx, int* err ) { value = jsonObjectToSimpleString( field_object ); } - if( ! value ) { - osrfAppSessionStatus( - ctx->session, - OSRF_STATUS_BADREQUEST, - "osrfMethodException", - ctx->request, - "No value available for column" - ); - osrfLogError( - OSRF_LOG_MARK, - "%s: NULL value for field %s of class %s", - MODULENAME, - field_name, - osrfHashGet(meta, "classname") - ); - osrfHashIteratorFree( field_itr ); - buffer_free( val_buf ); - buffer_free( col_buf ); - buffer_free( table_buf ); - *err = -1; - return jsonNULL; - } - if (first) { first = 0; } else { -- 2.11.0