Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: UDIG 1.2.M8
-
Fix Version/s: UDIG 1.2.RC1
-
Component/s: tools and editing
-
Labels:None
-
Environment:linux_x86, java6
Description
Tested environment:
Udig-trunk, udig-M8
Using the countries.shp execute the next CQL query: CONTAINS (the_geom, POINT (20 20))
It doesn't select any feature. If you try to execute any other CQL query, it doesn't matter if it is a spatial relationship query or a text query like "FID like 'cou%'", they won't work.
Those queries worked on udig-m6 and m7, I have read the code and is the same for all the versions, so the problem relies on the datastore. I think the next code doesn't return the proper values:
final DefaultQuery query=new DefaultQuery(schema.getName().getLocalPart(), filter, Query.NO_NAMES );
FeatureCollection<SimpleFeatureType, SimpleFeature> features = source.getFeatures( query );
Activity
Mauricio Pazos
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | UDIG 1.2.M8 [ 15691 ] | |
| Affects Version/s | UDIG 1.2.M8 [ 15691 ] | |
| Affects Version/s | UDIG 1.2.M7 [ 15476 ] | |
| Fix Version/s | UDIG 1.2.M7 [ 15476 ] |
Jody Garnett
made changes -
| Fix Version/s | UDIG 1.2.M8 [ 15691 ] | |
| Fix Version/s | UDIG 1.2.M9 [ 16115 ] |
Jody Garnett
made changes -
| Assignee | Jody Garnett [ jgarnett ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Jody Garnett
made changes -
| Status | Closed [ 6 ] | Reopened [ 4 ] |
| Resolution | Fixed [ 1 ] |
Jody Garnett
made changes -
| Comment |
[ After many wrong trails I finally found the udig_sdk feature had a build.xml with the needed markup to grab tutorial source code. I have also restored the tutorial feature from 1.1.x - this is not strictly required; but was one of the things I was trying to rule out during fixing this bug. Details are recorded for next time in the SDK Release Instructions: - http://udig.refractions.net/confluence/display/ADMIN/SDK+Export+Procedure ] |
Jody Garnett
made changes -
| Fix Version/s | UDIG 1.2.M9 [ 16115 ] | |
| Fix Version/s | UDIG 1.2.RC [ 16163 ] |
Jody Garnett
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Reopened [ 4 ] | Closed [ 6 ] |