Uploaded image for project: 'GeoServer'
  1. GEOS-6233

app-schema gives error response to WFS 2 GetFeatureById stored query

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 2.4.2
    • Fix Version/s: None
    • Component/s: Application schema
    • Labels:
      None

      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& - 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 - 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 - https://jira.codehaus.org/browse/GEOS-6232

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                harrison.grundy codehaus (Inactive)
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: