[mapguide-internals] Patch for ticket 2526 (MgUnclassifiedException thrown when QUERYMAPFEATURES request made with PERSIST=0)

Jackie Ng jumpinjackie at gmail.com
Tue Mar 10 09:28:23 PDT 2015


Hi All,

I've attached a patch for ticket 2526

http://trac.osgeo.org/mapguide/ticket/2526

If you try to do a QUERYMAPFEATURES with PERSIST=0, it will throw a
MgUnclassifiedException. This is because when the persist flag is false, a
null MgSelection pointer is passed down to
MgHtmlController::CollectQueryMapFeaturesResult() because the MgSelection
pointer is not properly assigned from the MgFeatureInformation when persist
= false

This patch ensures CollectQueryMapFeaturesResult receives a non-null
MgSelection pointer whether persist is true or false.

Please review. Thanks.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Patch-for-ticket-2526-MgUnclassifiedException-thrown-when-QUERYMAPFEATURES-request-made-with-PERSIST-tp5192598.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.


More information about the mapguide-internals mailing list