Bug report #17579

Saving qgz (zipped project file) file will null file

Added by Nathan Woodrow almost 7 years ago. Updated over 6 years ago.

Status:Closed
Priority:High
Assignee:Nathan Woodrow
Category:Project Loading/Saving
Affected QGIS version:master Regression?:No
Operating System:Window Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:25476

Description

If you open a .qgz based file and then save it will null out the .qgz file meaning you loose the projecct and any data along side it inside the zip file.

Associated revisions

Revision 7f474a09
Added by Nathan Woodrow almost 7 years ago

Fix #17579 - Use guid to make temp file name for zip file

QTemporaryFile doesn't work here with QgsZipUtils on Windows for some
reason but is fine on Linux. Yay development!

History

#1 Updated by Nathan Woodrow almost 7 years ago

  • Assignee set to Nathan Woodrow

#2 Updated by Anonymous almost 7 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#3 Updated by Giovanni Manghi over 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF