Delete + count in the same transaction against a shapefile will return a count
of "-2"
--------------------------------------------------------------------------------------
Key: GEOT-2357
URL: http://jira.codehaus.org/browse/GEOT-2357
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.5.3
Reporter: Andrea Aime
Fix For: 2.5.4
The count code in AbstractFeatureSource tries to use the in memory diff to fix
the count returned by the native data store, but with two issues:
- does not handle the case in which the datastore returns -1, that is, "cannot
count"
- does not check wheter the deleted features are matched by the current filter,
and thus should be removed from the count
--
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
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel