[mapguide-internals] Blocking issue in Mapguide 2.4

Bruno Scott bscott at geomapgis.com
Tue Feb 19 06:06:40 PST 2013


Hi jackie
Your test case seems to be good, it's pretty much the same as what i'm doing
here.
But it only test service->UpdateFeatures
The problem i have is in OpUpdateFeatures.cpp, one level higher.

void MgOpUpdateFeatures::Execute()
{
  ...
*/ //this is the thing unittest is testing/*
 Ptr<MgPropertyCollection> rowsAffected =
m_service->UpdateFeatures(resource, commands,... 
...
* / //here the ticket fix #649/*
...
* / //and finally this is the place where something gets wrong/*
    if (mgException != NULL || !partialFailureMsg.empty())
    {
        MG_LOG_OPERATION_MESSAGE_ADD_STRING(MgResources::Failure.c_str());
        if (mgException == NULL && !partialFailureMsg.empty())
        {
            MgStringCollection args;
            args.Add(partialFailureMsg);
            mgException = new
MgFeatureServiceException(L"MgOpUpdateFeatures.Execute",...
        }
    }

    MG_LOG_OPERATION_MESSAGE_ACCESS_ENTRY();
    MG_FEATURE_SERVICE_THROW()



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Blocking-issue-in-Mapguide-2-4-tp5034831p5035200.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.


More information about the mapguide-internals mailing list