Bug report #17915

QGIS3 Deleting geopackage layer from browser delete a wrong layer

Added by Dominique Lyszczarz over 2 years ago. Updated over 2 years ago.

Status:Closed
Priority:High
Assignee:Alessandro Pasotti
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.

Screenshoot.jpg (15.5 KB) Dominique Lyszczarz, 2018-01-22 03:27 PM

test.qgs (3.05 KB) Dominique Lyszczarz, 2018-01-22 03:27 PM

test.gpkg (136 KB) Dominique Lyszczarz, 2018-01-22 03:27 PM


Related issues

Related to QGIS Application - Bug report #17646: Browser: deleting GeoPackage table removes the wrong table Closed 2017-12-06

History

#1 Updated by Alessandro Pasotti over 2 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 over 2 years ago

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 over 2 years ago

Thanks for the attachment, working on that.

#4 Updated by Alessandro Pasotti over 2 years ago

  • Status changed from Open to In Progress
  • Pull Request or Patch supplied changed from No to Yes

#5 Updated by Borys Jurgiel over 2 years ago

Does it also close #17646 ?

#6 Updated by Borys Jurgiel over 2 years ago

  • Related to Bug report #17646: Browser: deleting GeoPackage table removes the wrong table added

#7 Updated by Alessandro Pasotti over 2 years ago

Yes, that seems like a duplicate

#8 Updated by Alessandro Pasotti over 2 years ago

  • Resolution set to fixed/implemented
  • Status changed from In Progress to Closed

Also available in: Atom PDF