Bug report #20230

Cannot export a GPKG layer into the same container but different layer name

Added by Andy Harfoot about 6 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Data Provider/OGR
Affected QGIS version:3.2.3 Regression?:No
Operating System:Win 10 x64 Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:28051

Description

If a vector geopackage layer is loaded into QGIS and then exported into the same GPKG file, but with a different layer name, the following error is observed in both 3.2.3 and 2.18.24:

Export to vector file failed.
Error: Cannot overwrite a OGR layer in place

History

#1 Updated by Nyall Dawson about 6 years ago

  • Status changed from Open to Feedback

Please test with 3.4 -- this should be fixed.

#2 Updated by Andy Harfoot about 6 years ago

Yes, this appears to have been fixed in 3.4

#3 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

Also available in: Atom PDF