Bug report #7914
Diagrams should use Column names instead of Column number
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
[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
Fixed in changeset cad339d3cfde3c89e21d67d25222c6e26655d502.
#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.