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

Jackie Ng jumpinjackie at gmail.com
Tue Mar 10 08:57:44 PDT 2015


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.


More information about the mapguide-internals mailing list