WFS_1_1_0_DataStore count broken -------------------------------- Key: GEOT-2282 URL: http://jira.codehaus.org/browse/GEOT-2282 Project: GeoTools Issue Type: Improvement Components: data wfs Reporter: Andrea Aime Assignee: Gabriel Roldán Fix For: 2.6-M0
Try to hit the datastore with a count over Filter.INCLUDE and it'll return -1. The issue is at line 723, it should compare the post filter against Filter.INCLUDE. That also breaks one of the tests, org.geotools.data.wfs.v1_1_0.GeoServerOnlineTest. Ok to commit? (btw, the logic is the post filter is returned a Filter.INCLUDE when no post filter is needed, which makes sense, when doing a GetFeature for example you first encode the pre filtern and then run the post filter on the results, Filter.EXCLUDE would just return nothing out of it). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel