[mapguide-internals] Blocking issue in Mapguide 2.4

Bruno Scott bscott at geomapgis.com
Mon Feb 18 06:57:53 PST 2013


I have found something

At the end of MgOpUpdateFeatures::Execute
if we replace
*/  MG_FEATURE_SERVICE_THROW()/*
by
/*    if (mgException != NULL) 
    { 
        mgException->Raise();
    }*/

It fixes the problem.

normally MG_FEATURE_SERVICE_THROW is defined this way
    if (mgException != NULL) 
    { 
        (*mgException).AddRef();
        mgException->Raise();
    }

It seems that in this case we do not have to addRef the exception.
The Exception would not been destroyed and further call to the service
failed with wrong message

I'm not pretty sure that the way to fix the problem


Bruno



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


More information about the mapguide-internals mailing list