[mapguide-trac] #52: WFS GetFeature: Property filter fails if property is not a string

MapGuide Open Source trac_mapguide at osgeo.org
Wed Apr 11 18:01:06 EDT 2007


#52: WFS GetFeature: Property filter fails if property is not a string
-----------------------------+----------------------------------------------
   Reporter:  chrisclaydon   |       Owner:  chrisclaydon
       Type:  defect         |      Status:  new         
   Priority:  medium         |   Milestone:  1.2         
  Component:  WFS Interface  |     Version:  1.2.0       
   Severity:  minor          |    Keywords:              
External_id:  924741         |  
-----------------------------+----------------------------------------------
 The code that converts from an OGC filter to an FDO filter always encloses
 <Literal> values in single quotes. This causes the filter to fail if the
 filter property is a numerical value.

 The fix requires us to check the data type used by the filter, and only
 quote the literal value if the type corresponds to a string.

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


More information about the mapguide-trac mailing list