[mapguide-trac] #1104: Mapagent.fcgi SelectFeatures does not support application/json

MapGuide Open Source trac_mapguide at osgeo.org
Wed Sep 23 18:57:13 EDT 2009


#1104: Mapagent.fcgi SelectFeatures does not support application/json
-------------------------+--------------------------------------------------
   Reporter:  jcarranz   |       Owner:       
       Type:  defect     |      Status:  new  
   Priority:  low        |   Milestone:       
  Component:  Map Agent  |     Version:  2.1.0
   Severity:  trivial    |    Keywords:       
External_id:             |  
-------------------------+--------------------------------------------------
 Using the mapagent.fcgi with OPERATION=SELECTFEATURES on sample Sheboygan
 data, xml is returned (although the return content type of the response is
 incorrect - not returned as text/xml)

 Test url:
 http://localhost:8080/mapguide/mapagent/mapagent.fcgi?OPERATION=SELECTFEATURES&VERSION=1.0.0&LOCALE=en&CLIENTAGENT=MapGuide+Developer&RESOURCEID=Library%3A%2F%2FSamples%2FSheboygan%2FData%2FVotingDistricts.FeatureSource&CLASSNAME=SDF_2_Schema%3AVotingDistricts&PROPERTIES=&COMPUTED_ALIASES=&COMPUTED_PROPERTIES=&FILTER=&FORMAT=text/xml

 But the equivalent call which is supposed to output JSON still produces
 XML

 http://localhost:8080/mapguide/mapagent/mapagent.fcgi?OPERATION=SELECTFEATURES&VERSION=1.0.0&LOCALE=en&CLIENTAGENT=MapGuide+Developer&RESOURCEID=Library%3A%2F%2FSamples%2FSheboygan%2FData%2FVotingDistricts.FeatureSource&CLASSNAME=SDF_2_Schema%3AVotingDistricts&PROPERTIES=&COMPUTED_ALIASES=&COMPUTED_PROPERTIES=&FILTER=&FORMAT=application/json

 Other mapagent operations that i've tested seem to behave correctly.

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


More information about the mapguide-trac mailing list