Bug report #13041
Processing Toolbox Doesn't Pick Up New Database Connections
|Affected QGIS version:||2.8.2||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21116|
The processing toolbox seems to build its cache of available PostGIS connections when QGIS is loaded and the cache is not updated when I create a new database connection.Steps to reproduce:
- Open QGIS
- Create new PostGIS connection
- Open the "Import into PostGIS" dialog
- Check the dropdown for PostGIS connections
The new database connection is not shown in the list.
What should happen:
The new connection should appear in the list.
I've tested using QGIS 2.8.2 on a Windows 7 machine and an Ubuntu 15.04 machine.
#3 Updated by Spencer Gardner about 4 years ago
It just occurred to me that the likely cause is that the combo box that holds DB connections appears to be generated when the Processing plugin is first initialized, even though a user may make changes before actually opening the dialog. Is there some way to prevent instantiation of the dialog until it is actually called by the user via the GUI?