Uploaded image for project: 'GeoTools'
  1. GeoTools
  2. GEOT-5650

WFS-NG ignores sortby for 1.0.0 & 2.0.0

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 16.1
    • Fix Version/s: 17-RC1
    • Component/s: wfs-ng
    • Labels:
      None

      Description

      If you pass a sorted query to a WFSFeatureSource it is ignored if the request version is 1.0.0 or 2.0.0 but not 1.1.0.

      The response at GeoServer is

      Request: getFeature

      handle = GeoTools 17-SNAPSHOT(75b7dedf87aec993a92e924ccf1d9ac4053a9434) WFS 2.0.0 DataStore @astun-desktop#1

      service = WFS

      version = 2.0.0

      baseUrl = http://localhost:8080/geoserver/

      count = 10

      outputFormat = application/gml+xml; version=3.2

      resolve = none

      resolveDepth = *

      resolveTimeout = 300

      resultType = results

      abstractQueryExpressionGroup[0] = wfs:abstractQueryExpression=net.opengis.wfs20.impl.QueryTypeImpl@3349b1f2 (handle: null) (abstractProjectionClause: null, abstractSelectionClause: null, abstractSortingClause: null, aliases: null, typeNames: [{http://www.openplans.org/topp}states]) (featureVersion: null, srsName: urn:ogc:def:crs:EPSG::4326, filter: null, propertyNames: null, sortBy: null)

      abstractQueryExpression[0]:

      typeNames[0] = {http://www.openplans.org/topp}states

      srsName = urn:ogc:def:crs:EPSG::4326

        Attachments

          Activity

            People

            • Assignee:
              ianturton Ian Turton
              Reporter:
              ianturton Ian Turton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: