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

WFS 2.0 GetFeatureById stored query returns a collection, should return a single feature instead

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.13-beta
    • Component/s: WFS
    • Labels:

      Description

      The GetFeatureById stored query is "special cased" in the specification by this statement:

      Executing a GetFeature operation containing the GetFeatureById stored query (see 7.9.3.6) shall generate a response composed of a single feature encoded according to the values of the outputFormat parameter (see 7.6.3.7). The response shall only contain the feature XML without any of the normal containing elements generated as a result of executing a GetFeature operation (see 11.3.3.4, 11.3.3.5, 11.3.3.6).

      So only for this particular query, the wrapping feature collection should not be encoded....

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              aaime Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Stride room