Opened 14 years ago

Closed 13 years ago

#3057 closed bug (fixed)

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

Reported by: neumann Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Project Loading / Saving Version:
Keywords: Cc: jef
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

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

Change History (2)

comment:1 by neumann, 14 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.

comment:2 by jef, 13 years ago

Resolution: fixed
Status: newclosed

fixed in r15687.

Note: See TracTickets for help on using tickets.