Bug report #17915
QGIS3 Deleting geopackage layer from browser delete a wrong layer
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | |||
Category: | Browser | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 25811 |
Description
When using the browser to delete a layer from a geopackage database which contains several layers (using right click and delete command) then it delete another layer of the database.
Related issues
History
#1
Updated by Alessandro Pasotti about 7 years ago
- Assignee set to Alessandro Pasotti
Some more details like a minimal test project with minimal a test gpkg data would be highly appreciated.
#2
Updated by Dominique Lyszczarz about 7 years ago
- File Screenshoot.jpg added
- File test.gpkg added
- File test.qgs added
Please find in attachment a test project and geopackage. I also include a screenshoot that illustrate the delete action in the UI. In this example when trying to delete "layer2" then "layer1" is deleting instead.
#3
Updated by Alessandro Pasotti about 7 years ago
Thanks for the attachment, working on that.
#4
Updated by Alessandro Pasotti about 7 years ago
- Status changed from Open to In Progress
- Pull Request or Patch supplied changed from No to Yes
#5
Updated by Borys Jurgiel about 7 years ago
Does it also close #17646 ?
#6
Updated by Borys Jurgiel about 7 years ago
- Related to Bug report #17646: Browser: deleting GeoPackage table removes the wrong table added
#7
Updated by Alessandro Pasotti about 7 years ago
Yes, that seems like a duplicate
#8
Updated by Alessandro Pasotti about 7 years ago
- Resolution set to fixed/implemented
- Status changed from In Progress to Closed
Fixed with f69c1cfc496f63ca12151b447cf97fa38d4eb18c