Bug report #19927

DB Manager looses target while importing more than one SHP into PostgreSQL

Added by Jörn Henrich over 5 years ago.

Category:DB Manager
Affected QGIS version:3.2.3 Regression?:Yes
Operating System:Windows 8.1 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27751



I often need to import several SHP-files into my PostgreSQL DB.
In QGIS v2.18.4 the DB Manager kept the focus on the schema I've chosen for the first file.
In newer versions of QGIS (I tried 2.18.12, 3.0.3 and 3.2.3) I must sellect the schema again after each import.

Way to reproduce:
- open more than one shape file in a QGIS version >= 2.18.12
- open the DB Manager and select the schema you want to import the SHPs into
- import the first SHP
- now you'll recognise that the selection of the schema jumps back to the superior database the previously selected schema is located in
- now you must reselect the schema you want to import the SHPs into this is the step which was'nt necessary in QGIS v 2.18.4 and earlyer


Also available in: Atom PDF