From: scottmk Date: Thu, 23 Apr 2009 17:37:54 +0000 (+0000) Subject: If the "virtual" tag is not present for a field, X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e8f035467b35198feb58c6c22c81edd53503f344;p=evergreen%2Fmasslnc.git If the "virtual" tag is not present for a field, default it to "false". git-svn-id: svn://svn.open-ils.org/ILS/trunk@12978 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/c-apps/oils_idl-core.c b/Open-ILS/src/c-apps/oils_idl-core.c index ead7515d00..c263141d8b 100644 --- a/Open-ILS/src/c-apps/oils_idl-core.c +++ b/Open-ILS/src/c-apps/oils_idl-core.c @@ -151,6 +151,12 @@ osrfHash* oilsIDLInit( const char* idl_filename ) { prop_str, "virtual" ); + } else { // default to virtual + osrfHashSet( + field_def_hash, + "false", + "virtual" + ); } if( (prop_str = (char*)xmlGetNsProp(_f, BAD_CAST "primitive", BAD_CAST PERSIST_NS)) ) {