Bug #3057

Attribute Index out of sync with data source when datasource was modified outside of QGIS

Added by Andreas Neumann over 2 years ago. Updated about 2 years ago.

Status:Closed Start Date:
Priority:Low Due date:
Assigned to:nobody - % Done:

0%

Category:Project Loading / Saving
Target version:Version 1.7.0
Platform:All Patch supplied:
Platform version: Affected version:master
Status info:0 Causes crash or corruption:No
Resolution:fixed

Description

If a data source (in my case a Postgis table) is present in a QGIS project - and the data structure was modified outside QGIS (e.g. in pgAdmin), the attribute index (for aliases, edit types, etc.) gets out of sync.

There should either be:
- automatic detection of changes in datastructure
- or a manual re-read of the data-structure with a button in the layer properties

History

Updated by Andreas Neumann over 2 years ago

It appears that attributes get reread correctly, but the aliases can get out of sync. I may need to do more investigations to see if this also happens with newer projects or if it is a migration issue from older versions.

Updated by Jürgen Fischer about 2 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

fixed in fb438557 (SVN r15688).

Also available in: Atom PDF