Opened 16 years ago

Closed 16 years ago

#2580 closed defect (fixed)

querying a WFS on property alias

Reported by: assefa Owned by: assefa
Priority: normal Milestone: 5.2 release
Component: WFS Server Version: unspecified
Severity: normal Keywords: WFS, FILTER
Cc: bartvde@…

Description

Initially reported by Bart,

Hi list,

it seems that querying a WFS on a property alias does not work in MS 5.0.2. Is this a known issue?

Using something like:

"gml_OBJ_IDENT_alias" "Identifier"

I can't query on Identifier in the PropertyName, but it works if I use the attribute name OBJ_IDENT as PropertyName.

This is kind of strange, since a WFS client can't even know this property is actually called OBJ_IDENT in the datamodel behind the WFS.

Change History (2)

comment:1 by assefa, 16 years ago

Cc: bartvde@… added
Owner: changed from mapserverbugs to assefa
Status: newassigned

Same issue when implementing SOS was discovered and solved by preparsing the filter to replace the aliased names by the real attribute names.

This was committed in r7521 for the development branch.

Bart, please give it a try and close if satified.

comment:2 by bartvde, 16 years ago

Resolution: fixed
Status: assignedclosed

Assefa, I've verified this works. Thanks a lot. Closing.

Note: See TracTickets for help on using tickets.