[mapguide-commits] r6447 - trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Jan 20 05:58:06 EST 2012


Author: jng
Date: 2012-01-20 02:58:06 -0800 (Fri, 20 Jan 2012)
New Revision: 6447

Modified:
   trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs
Log:
#1921: Workaround an Oracle provider bug where case is not considered in computed property names

Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs	2012-01-20 05:55:48 UTC (rev 6446)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/PlatformConnectionBase.cs	2012-01-20 10:58:06 UTC (rev 6447)
@@ -1586,14 +1586,14 @@
             try
             {
                 System.Collections.Specialized.NameValueCollection fun = new System.Collections.Specialized.NameValueCollection();
-                fun.Add("extent", "SpatialExtents(\"" + geometry + "\")");
+                fun.Add("EXTENT", "SpatialExtents(\"" + geometry + "\")");
                 using (IReader fsr = AggregateQueryFeatureSource(resourceID, schema, filter, fun))
                 {
                     try
                     {
                         if (fsr.ReadNext())
                         {
-                            IGeometry geom = fsr["extent"] as IGeometry;
+                            IGeometry geom = fsr["EXTENT"] as IGeometry;
                             if (geom == null)
                             {
                                 throw new Exception("No data found in resource: " + resourceID);



More information about the mapguide-commits mailing list