I've stumbled across a small bug in the WFS Feature Store (v1.0.0 in
branch 2.6.x) and have put together a whopping one line patch for it.
The patch has been tested in uDig and looks happy. If someone can
confirm that this is indeed a bug and the fix is valid I would
appreciate it.
JIRA issue pending...
--
Mark Leslie
Geospatial Software Architect
LISAsoft
-------------------------------------------------------------
Ph: +61 2 8570 5000 Fax: +61 2 8570 5099 Mob: +61
Suite 112, Jones Bay Wharf 19-21 Pirrama Rd Pyrmont NSW 2009
-------------------------------------------------------------
LISAsoft is part of the A2end Group of Companies
http://www.ardec.com.au
http://www.lisasoft.com
http://www.terrapages.com
Index: src/main/java/org/geotools/data/wfs/v1_0_0/WFSFeatureSource.java
===================================================================
--- src/main/java/org/geotools/data/wfs/v1_0_0/WFSFeatureSource.java (revision 34738)
+++ src/main/java/org/geotools/data/wfs/v1_0_0/WFSFeatureSource.java (working copy)
@@ -220,6 +220,7 @@
// "any" use a default
DefaultQuery defaultQuery = new DefaultQuery(query);
defaultQuery.setTypeName(typeName);
+ query = defaultQuery;
}
if (!typeName.equals(query.getTypeName())) {
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel