Bug report #17297

Overwriting environment variables with custom variables in Options -> System does not work

Added by Andreas Neumann about 1 month ago.

Status:Open
Priority:High
Assignee:-
Category:Unknown
Affected QGIS version:master Regression?:Yes
Operating System:Windows 7 x64 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No

Description

When one overwrites an environment variable that is defined on the system level with a custom variable defined by the user (in Menu Settings --> Options --> System --> Environment) the new value is picked up, but not correctly used.

Example: define variable PGSYSCONFDIR centrally on the system, overwrite it with a custom PGSYSCONFDIR variable on the user level. In the list of "Current environment variables" the new custom value correctly shows up, but the old value before overwriting is still used.

See also screenshot attached

It is a regression. It worked fine on 2.18x

qgis_custom_env_vars.png - QGIS custom env vars (110 KB) Andreas Neumann, 10/17/2017 03:58 PM

Also available in: Atom PDF