[mapguide-commits] r9175 - sandbox/jng/clean_json/Server/src/Services/Feature
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sun Apr 23 07:38:25 PDT 2017
Author: jng
Date: 2017-04-23 07:38:25 -0700 (Sun, 23 Apr 2017)
New Revision: 9175
Modified:
sandbox/jng/clean_json/Server/src/Services/Feature/ServerFeatureService.cpp
Log:
Add 3.3.0 to server version check for GetCapabilities
Modified: sandbox/jng/clean_json/Server/src/Services/Feature/ServerFeatureService.cpp
===================================================================
--- sandbox/jng/clean_json/Server/src/Services/Feature/ServerFeatureService.cpp 2017-04-23 14:37:33 UTC (rev 9174)
+++ sandbox/jng/clean_json/Server/src/Services/Feature/ServerFeatureService.cpp 2017-04-23 14:38:25 UTC (rev 9175)
@@ -277,7 +277,9 @@
MG_LOG_TRACE_ENTRY(L"MgServerFeatureService::GetCapabilities()");
Ptr<MgUserInformation> userInfo = MgUserInformation::GetCurrentUserInfo();
- if (userInfo->GetApiVersion() != MG_API_VERSION(1,0,0) && userInfo->GetApiVersion() != MG_API_VERSION(2,0,0))
+ if (userInfo->GetApiVersion() != MG_API_VERSION(1,0,0) &&
+ userInfo->GetApiVersion() != MG_API_VERSION(2,0,0) &&
+ userInfo->GetApiVersion() != MG_API_VERSION(3,3,0)) //This is 2.0.0 with optional clean JSON output
{
throw new MgInvalidOperationVersionException(
L"MgServerFeatureService.GetCapabilities", __LINE__, __WFILE__, NULL, L"", NULL);
More information about the mapguide-commits
mailing list