MapGuide Open Source:  Home |  Download |  Internals

Ticket #52 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

WFS GetFeature: Property filter fails if property is not a string

Reported by: chrisclaydon Assigned to: chrisclaydon
Priority: medium Milestone: 1.2
Component: WFS Interface Version: 1.2.0
Severity: minor Keywords:
Cc: External ID: 924741

Description

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.

Change History

04/25/07 14:09:47 changed by chrisclaydon

  • status changed from new to closed.
  • resolution set to fixed.

Fixed for in 1.2.x by submission 1497, http://trac.osgeo.org/mapguide/changeset/1497

Fixed for in trunk by submission 1508, http://trac.osgeo.org/mapguide/changeset/1508