[mapguide-internals] Patch for ticket 2548 (Selection not cleared server-side)

Walt Welton-Lair walt.welton-lair at autodesk.com
Tue Mar 10 09:07:05 PDT 2015


+1 from me

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Tuesday, March 10, 2015 11:58 AM
To: mapguide-internals at lists.osgeo.org
Subject: [mapguide-internals] Patch for ticket 2548 (Selection not cleared server-side)

Hi All,

I've attached a patch for ticket 2548

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

When the fix for ticket 2464 (http://trac.osgeo.org/mapguide/ticket/2464)
was made, the case for clearing a selection was not properly handled. This exists as a call to QUERYMAPFEATURES with an empty FEATUREFILTER and no GEOMETRY specified. 

The existing RenderForSelection method throws an argument exception on this particular condition (empty feature filter and null geometry). This patch changes the check to return from the method immediately.

The net result of this patch is that it allows for the QUERYMAPFEATURES operation in the mapagent to properly clear selections by omitting the GEOMETRY and FEATUREFILTER parameters.

Please review. Thanks.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Patch-for-ticket-2548-Selection-not-cleared-server-side-tp5192590.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals


More information about the mapguide-internals mailing list