[mapguide-trac] #1984: AjaxViewer SetSelectionXML does not work anymore on Mapguide 2.4

MapGuide Open Source trac_mapguide at osgeo.org
Mon Apr 16 03:27:36 EDT 2012


#1984: AjaxViewer SetSelectionXML does not work anymore on Mapguide 2.4
---------------------------+------------------------------------------------
   Reporter:  znarf1965    |       Owner:                                 
       Type:  defect       |      Status:  new                            
   Priority:  high         |   Milestone:  2.4                            
  Component:  AJAX Viewer  |     Version:                                 
   Severity:  blocker      |    Keywords:  2.4 Ajax viewer SetSelectionXML
External_id:               |  
---------------------------+------------------------------------------------
 I'm testing beta 2.4 on Windows 7 32 bit and I'm experimenting an error on
 AjaxViewer SetSelectionXML(). If I execute it, Mapguide does not select
 anything.

 The severity for me is very high because without this function I can't use
 Mapguide.

 I've built a very simple task pane with a button and I have set it as
 initial URL in my basic WebLayout (please see the attached project for
 both mgp and .Net app).

 If I follow with debugger, I can see that selection.ToXml() seems working
 properly.
 But as a result of executing Java Script, I get the right zoom, but
 nothing is selected.

 I’ve made further tests on Mapguide 2.2, on Infrsatructure Map Server 2013
 and on both Oracle and shp based features. In these tests I used exactly
 the same .Net project and the same mgp.

 The result is that SetSelectionXML() works properly on both Mapguide 2.2
 and Infrastructure Map Server 2013.
 But it does not work for Mapguide 2.4. So this is a bug specifically
 related to 2.4.

 I include to this ticket my .Net simple project (and mgp) that replicates
 the problem on a mgp based on shp files.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1984>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list