[Geoserver-devel] [jira] (GEOS-6233) app-schema doesn't gives error response to WFS 2 GetFeatureById stored query

Marcus Sen created BugGEOS-6233
app-schema doesn’t gives error response to WFS 2 GetFeatureById stored query

Issue Type:

BugBug

Affects Versions:

2.4.2

Assignee:

Rini Angreani

Components:

Application schema

Created:

16/Dec/13 6:22 AM

Description:

If I install GeoServer and then set the data directory to be the tutorial data that comes with the app-schema plugin and execute the query below:

http://localhost:8080/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&storedquery_id=urn:ogc:def:query:OGC-WFS::GetFeatureById&id=mf.25699&

I get the error response:

<ows:ExceptionReport version=“2.0.0” xsi:schemaLocation=“http://www.opengis.net/ows/1.1 http://localhost:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd”><ows:Exception exceptionCode=“OperationProcessingFailed” locator=“GetFeature”><ows:ExceptionText>No feature types specified</ows:ExceptionText></ows:Exception></ows:ExceptionReport>

With a stored query, it shouldn’t be necessary to specify a feature type.

Note the core GeoServer WFS partly supports this query although the response isn’t quite the correct format: see https://jira.codehaus.org/browse/GEOS-6232

Environment:

Windows 7
Windows installer version of GeoServer
Oracle JDK 1.6

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Marcus Sen

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)