Bug report #2201
shapefiles: problem with subset queries
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | nobody - | ||
Category: | Data Provider | ||
Affected QGIS version: | Regression?: | No | |
Operating System: | All | Easy fix?: | No |
Pull Request or Patch supplied: | Resolution: | fixed | |
Crashes QGIS or corrupts data: | Copied to github as #: | 12261 |
Description
The problem seems to affect just shapefiles, not postgis nor spatialite.
Open a shapefile a create a subset trough te subset query option in "properties -> general".
Save the project and close qgis.
Reopen qgis and open the project, all the features will show, not just the queried ones.
Go to properties -> general and you will see that the query is malformed. Any try to correct it produce the message "setting the query failed".
Tested on trunk on ubuntu 9.04.
Associated revisions
fix #2201
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12341 c8812cc2-4d05-0410-92ff-de0c093fc19c
fix #2201
git-svn-id: http://svn.osgeo.org/qgis/trunk@12341 c8812cc2-4d05-0410-92ff-de0c093fc19c
History
#1 Updated by Jürgen Fischer almost 15 years ago
can you give an example? something simple like "AREA"<1000000 didn't reproduce the problem here.
#2 Updated by Giovanni Manghi almost 15 years ago
ok,
take the spatialite sample dataset and save the layer "regions" as shapefile.
Then test a query like
"name" = 'Toscana'
#3 Updated by Jürgen Fischer almost 15 years ago
- Resolution set to fixed
- Status changed from Open to Closed
fixed in a95aa6c7 (SVN r12342)