[mapguide-commits] r5301 - sandbox/maestro-3.0/OSGeo.MapGuide.MaestroAPI/Commands

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Oct 20 04:22:09 EDT 2010


Author: jng
Date: 2010-10-20 01:22:09 -0700 (Wed, 20 Oct 2010)
New Revision: 5301

Modified:
   sandbox/maestro-3.0/OSGeo.MapGuide.MaestroAPI/Commands/ExecuteLoadProcedure.cs
Log:
3.0 sandbox changes:
 - Fix update logic for load procedure execution


Modified: sandbox/maestro-3.0/OSGeo.MapGuide.MaestroAPI/Commands/ExecuteLoadProcedure.cs
===================================================================
--- sandbox/maestro-3.0/OSGeo.MapGuide.MaestroAPI/Commands/ExecuteLoadProcedure.cs	2010-10-20 08:09:21 UTC (rev 5300)
+++ sandbox/maestro-3.0/OSGeo.MapGuide.MaestroAPI/Commands/ExecuteLoadProcedure.cs	2010-10-20 08:22:09 UTC (rev 5301)
@@ -469,7 +469,7 @@
                 layerRoot += "/";
 
             List<string> resToUpdate = new List<string>();
-            if (proc.ResourceId != null)
+            if (proc.ResourceId != null && proc.ResourceId.Count > 0)
             {
                 resToUpdate.AddRange(proc.ResourceId);
                 firstExecution = false;



More information about the mapguide-commits mailing list