[mapguide-commits] r4447 - trunk/MgDev/Common/MapGuideCommon/Services

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Dec 17 03:25:32 EST 2009


Author: christinebao
Date: 2009-12-17 03:25:27 -0500 (Thu, 17 Dec 2009)
New Revision: 4447

Modified:
   trunk/MgDev/Common/MapGuideCommon/Services/SiteManager.cpp
Log:
Related ticket: http://trac.osgeo.org/mapguide/ticket/1131

Submit this patch to avoid server unit test fail in the following builds. Bruce will review it as soon as he comes back.

Modified: trunk/MgDev/Common/MapGuideCommon/Services/SiteManager.cpp
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/Services/SiteManager.cpp	2009-12-17 02:59:12 UTC (rev 4446)
+++ trunk/MgDev/Common/MapGuideCommon/Services/SiteManager.cpp	2009-12-17 08:25:27 UTC (rev 4447)
@@ -532,6 +532,9 @@
         }
     }
 
+    if (matchingSiteInfo == NULL)
+        matchingSiteInfo = new MgSiteInfo(hexString);
+
     return SAFE_ADDREF(matchingSiteInfo);
 }
 



More information about the mapguide-commits mailing list