New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to edit filtered Shapefile Layer after reloading project #25691
Comments
Author Name: Alessandro Pasotti (@elpaso) Also affects master
|
Author Name: Alessandro Pasotti (@elpaso) Failing test: elpaso@dd60fcd |
Author Name: Alessandro Pasotti (@elpaso)
|
Author Name: Alessandro Pasotti (@elpaso)
|
Author Name: Alessandro Pasotti (@elpaso) Just to be clear: editing on a filtered layer won't be possible because of the way OGR provider construct a filtered layer, but the bug that prevent to edit a layer when the filter is removed/cleared has been addressed in the PR 6000 |
Author Name: Anónimo (Anónimo) Applied in changeset 9c85334.
|
Author Name: Alessandro Pasotti (@elpaso) Backporting now to 2.18
|
Author Name: Christian Roettger (Christian Roettger)
Original Redmine Issue: 17795
Affected QGIS version: master
Redmine category:data_provider/ogr
Assignee: Alessandro Pasotti
This seems to be a new bug in 2.18.15 an not really related to #25404
You can't edit a shapefile anymore while a filter is active (CASE 1.). This was possible in .14 :( (its not possible with the linked buhtest.gpkg, too)
I tested this on an older qgis version (2.18.1) where editing the same filtered shape file is possible.
USE CASE:
Tested on Windows with 2.18.14 and 2.18.15 where it is even worse. In .15 you can't edit a shapefile anymore while a filter is active (CASE 1.). This was possible in .14 :(
More detailed System overview:
QGIS version 2.18.15
QGIS code revision ac2d111
Compiled against Qt 4.8.5
Running against Qt 4.8.5
Compiled against GDAL/OGR 2.2.3
Running against GDAL/OGR 2.2.3
Compiled against GEOS 3.5.0-CAPI-1.9.0
Running against GEOS 3.5.0-CAPI-1.9.0 r4084
PostgreSQL Client Version 9.2.4
SpatiaLite Version 4.3.0
QWT Version 5.2.3
PROJ.4 Version 493
QScintilla2 Version 2.7.2
The text was updated successfully, but these errors were encountered: