[mapguide-commits] r8274 - sandbox/jng/convenience_apis/Server/src/Services/Feature

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Jul 3 23:56:54 PDT 2014


Author: jng
Date: 2014-07-03 23:56:54 -0700 (Thu, 03 Jul 2014)
New Revision: 8274

Modified:
   sandbox/jng/convenience_apis/Server/src/Services/Feature/ServerFeatureService.cpp
Log:
Fix small logic error in the new batched InsertFeatures API

Modified: sandbox/jng/convenience_apis/Server/src/Services/Feature/ServerFeatureService.cpp
===================================================================
--- sandbox/jng/convenience_apis/Server/src/Services/Feature/ServerFeatureService.cpp	2014-07-02 08:56:54 UTC (rev 8273)
+++ sandbox/jng/convenience_apis/Server/src/Services/Feature/ServerFeatureService.cpp	2014-07-04 06:56:54 UTC (rev 8274)
@@ -688,7 +688,7 @@
     MgServerUpdateFeatures asuf;
     Ptr<MgPropertyCollection> props = asuf.Execute(resource, cmds, false);
 
-    if (cmds->GetCount() == 1)
+    if (props->GetCount() == 1)
     {
         INT32 i = 0;
         Ptr<MgProperty> prop = props->GetItem(i);



More information about the mapguide-commits mailing list