Ticket #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
Note: See
TracTickets for help on using
tickets.
