From: scottmk Date: Tue, 11 Aug 2009 21:01:41 +0000 (+0000) Subject: Undo previous change. NULL can be a legitimate value for value. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=03e5ad2532a9bc3da26127c434b740fb9dad8313;p=contrib%2FConifer.git 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 --- diff --git a/Open-ILS/src/c-apps/oils_cstore.c b/Open-ILS/src/c-apps/oils_cstore.c index 65be642b9f..27ec54ab33 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 {