Opened 14 years ago

Closed 14 years ago

#2231 closed patch (fixed)

No warnings when connection settings overwrites

Reported by: alexbruy Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.4.0
Component: Data Provider Version: Trunk
Keywords: postgis, wms Cc: dr, gislab, alexbruy
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

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.

Attachments (2)

qgsnewconnection.cpp_add_overwrite_prompt.patch (1.0 KB ) - added by alexbruy 14 years ago.
Patch for PostGIS connections dialog (add overwrite prompt)
qgsnewhttpconnection.cpp_add_overwrite_prompt.patch (1.2 KB ) - added by alexbruy 14 years ago.
Patch for WMS connections dialog (add overwrite prompt)

Download all attachments as: .zip

Change History (4)

by alexbruy, 14 years ago

Patch for PostGIS connections dialog (add overwrite prompt)

by alexbruy, 14 years ago

Patch for WMS connections dialog (add overwrite prompt)

comment:1 by lutra, 14 years ago

Priority: critical: causes crash or data corruptionmajor: does not work as expected

Does this happen also for wfs connections?

comment:2 by jef, 14 years ago

Resolution: fixed
Status: newclosed

extended version of the patch applied in r12390. Thanks.

Note: See TracTickets for help on using tickets.