Opened 12 years ago

Closed 12 years ago

#52 closed defect (fixed)

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 (1)

comment:1 Changed 12 years ago by chrisclaydon

Resolution: fixed
Status: newclosed

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.