Ticket #52 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Reported by: chrisclaydon Owned by: 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

Changed 5 years ago 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

Note: See TracTickets for help on using tickets.