Bug report #17034
Geopackage: database locked when editing and saving several layers of same file
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Even Rouault | ||
Category: | Data Provider/OGR | ||
Affected QGIS version: | 2.18.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 24933 |
Description
With the attached geopackage :
1) Open it with its 2 layers
2) Put the 2 layers in edition mode
3) Select one layer, move one vertex
4) Select the other layer, move one vertex
5) Save modifications in the 2 layers
6) Select one layer, move one vertex
7) Select the other layer, move one vertex
8) Save modifications in the 2 layers -> the "database is locked" message is emitted
Associated revisions
[OGR provider] Avoid 'database locked' issues when editing several layers of the same GeoPackage (fixes #17034)
[OGR provider] Avoid 'database locked' issues when editing several layers of the same GeoPackage (fixes #17034)
History
#1 Updated by Even Rouault about 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|548117769910a4373747899b99478835e5c65c5e.
#2 Updated by Even Rouault about 7 years ago
Complementary OGR fix : https://trac.osgeo.org/gdal/changeset/39860
Either QGIS fix, OGR fix or both are needed for the bug fix
#3 Updated by Giovanni Manghi about 7 years ago
Even Rouault wrote:
Complementary OGR fix : https://trac.osgeo.org/gdal/changeset/39860
Either QGIS fix, OGR fix or both are needed for the bug fix
thanks for the fix Even, much appreciated.