[mapguide-commits] r6470 -
sandbox/adsk/2.4j/Server/src/Services/Feature
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Jan 31 03:16:31 EST 2012
Author: christinebao
Date: 2012-01-31 00:16:31 -0800 (Tue, 31 Jan 2012)
New Revision: 6470
Modified:
sandbox/adsk/2.4j/Server/src/Services/Feature/ServerSelectFeatures.cpp
Log:
Fix ticket http://trac.osgeo.org/mapguide/ticket/1935
Error to preview feature of Join/Calculation feature class for SQL Server 2008 provider.
Submit on behalf of Romica Dascalescu <Romica.Dascalescu at autodesk.com>
Modified: sandbox/adsk/2.4j/Server/src/Services/Feature/ServerSelectFeatures.cpp
===================================================================
--- sandbox/adsk/2.4j/Server/src/Services/Feature/ServerSelectFeatures.cpp 2012-01-31 08:09:52 UTC (rev 6469)
+++ sandbox/adsk/2.4j/Server/src/Services/Feature/ServerSelectFeatures.cpp 2012-01-31 08:16:31 UTC (rev 6470)
@@ -164,6 +164,8 @@
isSelectAggregate = false;
useClassName = false;
}
+ else if (bFeatureJoinProperties)
+ useClassName = false;
Ptr<MgReader> reader;
@@ -1602,7 +1604,7 @@
//Need to check the filter here to see if it involves secondary class properties and/or
//expressions involving such properties. We don't support this yet
- if (m_options != NULL)
+ if (m_options != NULL && relates->GetCount())
{
MdfModel::AttributeRelate* relate = relates->GetAt(0);
STRING filterText = m_options->GetFilter();
More information about the mapguide-commits
mailing list