[open-ils-commits] r12978 - trunk/Open-ILS/src/c-apps (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 23 13:37:57 EDT 2009


Author: scottmk
Date: 2009-04-23 13:37:54 -0400 (Thu, 23 Apr 2009)
New Revision: 12978

Modified:
   trunk/Open-ILS/src/c-apps/oils_idl-core.c
Log:
If the "virtual" tag is not present for a field,
default it to "false".


Modified: trunk/Open-ILS/src/c-apps/oils_idl-core.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_idl-core.c	2009-04-23 17:04:21 UTC (rev 12977)
+++ trunk/Open-ILS/src/c-apps/oils_idl-core.c	2009-04-23 17:37:54 UTC (rev 12978)
@@ -151,6 +151,12 @@
 								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)) ) {



More information about the open-ils-commits mailing list