Bug report #6709

Creating a shapefile fails silently when you don't have permissions (should have an error message, consistent with other actions)

Added by Alister Hood over 11 years ago. Updated almost 10 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:GUI
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:15874

Description

- Right click on a vector layer and choose "save as". Try to save it somewhere you don't have permissions (often C:/ on Windows). You will get an error message saying to contact the administrator to get permissions.
- Click "Layer>New>New Shapefile layer" and try to save it to the same place. The file will not be saved, but there will be no error message. (and anyway, is there a reason why the QT save dialog is used in this case instead of the native Windows dialog? I think it might be needed to provide that encoding option, but I can't remember for sure).

Only tested on Windows.

Associated revisions

Revision 71c15f06
Added by Jürgen Fischer almost 10 years ago

show failure to create a new shapefile on message bar and point to message log (fixes #6709)

History

#1 Updated by Alister Hood over 11 years ago

Also tested in 1.8

#2 Updated by Jürgen Fischer almost 10 years ago

  • Status changed from Open to Closed

#3 Updated by Jürgen Fischer almost 10 years ago

  • Category set to GUI

Also available in: Atom PDF