Bug report #7914

Diagrams should use Column names instead of Column number

Added by Hien TRAN-QUANG over 11 years ago. Updated over 11 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Symbology
Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16786

Description

In master, I made a layer with diagrams, with fields A,B,C

For some reasons, I added some columns in my table I recreated from scratch (via pgscript), with fields A,A1,A2,B,B1,B2,C,C1,C2
The resulting diagrams use A, A1, A2 fields. So it seems that column numbers are used instead of names.

Associated revisions

Revision cad339d3
Added by Matthias Kuhn over 11 years ago

[diagrams] save attribute names instead of indices (fix #7914)

History

#1 Updated by Salvatore Larosa over 11 years ago

  • Priority changed from Normal to Severe/Regression

#2 Updated by Matthias Kuhn over 11 years ago

  • Status changed from Open to Closed

#3 Updated by Matthias Kuhn over 11 years ago

Not sure if it really solves your case. A real solution would require refactoring quite a couple of classes.

Also available in: Atom PDF