Bug report #5630

After specifying a Target SRID with drag and drop, QGIS still opens the CRS dialog

Added by Ian Packham over 12 years ago. Updated over 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:DB Manager
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:15198

Description

When dropping a .shp file into a PG connection, we can specify a Target SRID. However, after pressing OK, the Coordinate Reference System Selector dialog still opens. This should be unnecessary if a valid SRID has been input.

Another typo note: if a non integer is input, the following error message is displayed:
Invalid target srid: must be and integer

Should read

Invalid target srid: must be an integer

History

#1 Updated by Giuseppe Sucameli over 12 years ago

To avoid QGis displays that dialog probably the only way is to disable the user option by code and re-enabling it after the layer CRS is set. I'll do further investigation.

About the typo, it was already fixed in QGis master.
BTW I'm going to align the version on my GH repo to the one on the QGis master branch.

#2 Updated by Giovanni Manghi over 11 years ago

  • Crashes QGIS or corrupts data set to No
  • Affected QGIS version set to master
  • Project changed from 27 to QGIS Application

#3 Updated by Giovanni Manghi over 11 years ago

  • Category set to DB Manager

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

  • Status changed from Open to Feedback

No reproducable - might be fixed.

#5 Updated by Giovanni Manghi over 9 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

closing for lack of feedback.

Also available in: Atom PDF