Bug report #20230

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

Added by Andy Harfoot over 5 years ago. Updated over 5 years ago.

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


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


#1 Updated by Nyall Dawson over 5 years ago

  • Status changed from Open to Feedback

Please test with 3.4 -- this should be fixed.

#2 Updated by Andy Harfoot over 5 years ago

Yes, this appears to have been fixed in 3.4

#3 Updated by Giovanni Manghi over 5 years ago

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

Also available in: Atom PDF