Feature request #2231

No warnings when connection settings overwrites

Added by Alexander Bruy almost 15 years ago. Updated almost 15 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Data Provider
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:12291

Description

Testcase

1. Create a new connection to PostGIS database with all fields filled and save it

2. Create another connection with same name and fill fields with another data

3. Save second connection

First connection will be overwritten without any warnings and prompts. Same problem with WMS commections - there is no overwrite prompt or warning message.

Discussion in Russian http://gis-lab.info/forum/viewtopic.php?f=35&t=4346

Simple patches attached, but this is not an elegant solution.

qgsnewconnection.cpp_add_overwrite_prompt.patch Magnifier - Patch for PostGIS connections dialog (add overwrite prompt) (1.01 KB) Alexander Bruy, 2009-12-09 10:58 AM

qgsnewhttpconnection.cpp_add_overwrite_prompt.patch Magnifier - Patch for WMS connections dialog (add overwrite prompt) (1.16 KB) Alexander Bruy, 2009-12-09 10:59 AM

History

#1 Updated by Giovanni Manghi almost 15 years ago

Does this happen also for wfs connections?

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

  • Resolution set to fixed
  • Status changed from Open to Closed

extended version of the patch applied in 80c1cf32 (SVN r12391). Thanks.

Also available in: Atom PDF