[Geoserver-devel] [jira] (GEOS-6187) wfs2 + resultType=hits + maxFeatures returns bad numberMatched

Robert Coup created BugGEOS-6187
wfs2 + resultType=hits + maxFeatures returns bad numberMatched

Issue Type:

BugBug

Affects Versions:

2.4.3

Assignee:

Andrea Aime

Components:

WFS

Created:

24/Nov/13 8:25 PM

Description:

WFS2.0 GetFeature queries with &resultType=hits and with the wfs.maxFeatures limit set returns unexpected values:

  1. wfs.hitsIgnoreMaxFeatures=true, returns numberMatched=-1, expected actual count
  2. wfs.hitsIgnoreMaxFeatures=false, returns numberMatched=<actual count>, expected min(actual count, wfs.maxFeatures)

Failing tests cases at https://github.com/geoserver/geoserver/pull/405

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Robert Coup

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)