[Geoserver-devel] [jira] (GEOS-6145) resulttype=hits results in 0 for WFS 1.0.0 and 2.0.0 (but not 1.1.0)

Jonathan Moules created BugGEOS-6145
resulttype=hits results in 0 for WFS 1.0.0 and 2.0.0 (but not 1.1.0)

Issue Type:

BugBug

Affects Versions:

2.4.1

Assignee:

Andrea Aime

Components:

WFS

Created:

08/Nov/13 9:36 AM

Description:

Using the exact same query for the three versions of WFS, I get different responses for resulttype=hits queries.

http://wppgeog3/geoserver/ows?service=wfs&version=2.0.0&request=getfeature&typename=Public_Data_DB:OS_ADDPOINT_WSHIRE&resulttype=hits

WFS 1.0.0 - 0 (wrong)
WFS 1.1.0 - 7500 (correct)
WFS 2.0.0 - 0 (wrong)

The WFS 1.0.0 spec doesn’t seem to have this in it, but GeoServer still seems to be trying to honour it.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jonathan Moules

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)