[Geoserver-devel] [JIRA] (GEOS-7842) WFS v2.0 getFeature KVP requests using typenames parameter fail

Ian Turton created an issue

GeoServer / BugGEOS-7842

WFS v2.0 getFeature KVP requests using typenames parameter fail

Issue Type:

BugBug

Affects Versions:

2.10.0, 2.11-beta, 2.9.2

Assignee:

Unassigned

Components:

WFS

Created:

08/Nov/16 5:41 PM

Environment:

Ubuntu tomcat Oracle JDK 8

Priority:

HighestHighest

Reporter:

Ian Turton

A query like http://localhost:4080/geoserver/ows?service=WFS&version=2.0.2&request=GetFeature&typeNames=topp:tasmania_cities,topp:tasmania_roads&propertyName=(ADMIN_NAME,CITY_NAME)(TYPE

fails with the message “Join query must specify a filter” - while by my reading of the spec it should work.

Changing typenames to typename (the V1.0 parameter) does work still - http://localhost:4080/geoserver/ows?service=WFS&version=2.0.2&request=GetFeature&typeName=topp:tasmania_cities,topp:tasmania_roads&propertyName=(ADMIN_NAME,CITY_NAME)(TYPE

However the XML typenames works fine:

<wfs:GetFeature service=“WFS” version=“2.0.0”
xmlns:wfs=“http://www.opengis.net/wfs/2.0” xmlns:fes=“http://www.opengis.net/fes/2.0
xmlns:sf=“http://www.openplans.org/spearfish” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=“http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd”>
<wfs:Query typeNames=“topp:tasmania_cities”>
<wfs:PropertyName>ADMIN_NAME</wfs:PropertyName>
<wfs:PropertyName>CITY_NAME</wfs:PropertyName>
</wfs:Query>
<wfs:Query typeNames=“topp:tasmania_roads”>
<wfs:PropertyName>TYPE</wfs:PropertyName>

</wfs:Query>
</wfs:GetFeature>

This breaks ArcGIS and FME clients.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.526.0#100018-sha1:e9d616c)

Atlassian logo