[open-ils-commits] r12016 - trunk/Open-ILS/src/c-apps

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jan 30 16:36:49 EST 2009


Author: miker
Date: 2009-01-30 16:36:44 -0500 (Fri, 30 Jan 2009)
New Revision: 12016

Modified:
   trunk/Open-ILS/src/c-apps/oils_idl-core.c
Log:
adding support for jump attribute, for remote indirection; fixing incorrect comment

Modified: trunk/Open-ILS/src/c-apps/oils_idl-core.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_idl-core.c	2009-01-29 20:05:29 UTC (rev 12015)
+++ trunk/Open-ILS/src/c-apps/oils_idl-core.c	2009-01-30 21:36:44 UTC (rev 12016)
@@ -329,6 +329,9 @@
 									osrfHashSet( _tmp_fcontext, osrfHashGet(_flink, "field"), "fkey" );
 									osrfHashSet( _tmp_fcontext, osrfHashGet(_flink, "key"), "field" );
 
+								    if( (prop_str = (char*)xmlGetNoNsProp(_f, BAD_CAST "jump")) )
+									    osrfHashSet( _tmp_fcontext, osrfStringArrayTokenize( prop_str, '.' ), "jump" );
+
 									// Tokenize field attribute into an osrfStringArray
 									const char * field_list = (char*) xmlGetProp(_f, BAD_CAST "field");
 									if( field_list )
@@ -345,7 +348,7 @@
 									if( (prop_str = (char*)xmlGetNoNsProp(_f, BAD_CAST "field") )) {
 										char* map_list = strdup( prop_str );
 										osrfLogDebug(OSRF_LOG_MARK,
-											"Permacrud foreign context field list is %s", prop_str );
+											"Permacrud local context field list is %s", prop_str );
 			
 										if (strlen( map_list ) > 0) {
 											char* st_tmp = NULL;



More information about the open-ils-commits mailing list