[Geoserver-devel] [JIRA] (GEOS-9458) WFS 2.0 join query doesn't work with local workspace and unqualified typenames

Gabriel Roldan created an issue

GeoServer / BugGEOS-9458

WFS 2.0 join query doesn’t work with local workspace and unqualified typenames

Issue Type:

BugBug

Affects Versions:

2.16.1

Assignee:

Gabriel Roldan

Components:

WFS

Created:

16/Jan/20 4:57 PM

Priority:

MediumMedium

Reporter:

Gabriel Roldan

These two queries should be equivalent:

wfs?request=GetFeature&typeNames=gs:Forests,gs:Lakes2&filter=....
gs/wfs?request=GetFeature&typeNames=Forests,Lakes&filter=....

But he following exception is thrown instead:

org.geoserver.wfs.WFSException: Feature type :Forests unknown
	at org.geoserver.wfs.kvp.BaseFeatureKvpRequestReader.checkTypeName(BaseFeatureKvpRequestReader.java:346)
	at org.geoserver.wfs.kvp.BaseFeatureKvpRequestReader.read(BaseFeatureKvpRequestReader.java:129)
	at org.geoserver.wfs.kvp.GetFeatureKvpRequestReader.read(GetFeatureKvpRequestReader.java:61)
	at org.geoserver.wfs.kvp.v2_0.GetFeatureKvpRequestReader.read(GetFeatureKvpRequestReader.java:31)
	at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1545)
	at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:692)
	at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:255)

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100118-sha1:6ee4f9b)

Atlassian logo