Bug report #10437
When removing a vector field alias it isn't removed from qgs project
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | - | ||
Category: | Vectors | ||
Affected QGIS version: | 2.2.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 18851 |
Description
Alias fields elements in .qgs projects aren't removed when alias are unset (= made blank, empty string).
An empty "name" attribute is kept for that field. E.g.:
<aliases> <alias field="image" index="2" name=""/> </aliases>
I suggest to remove the element when the alias is empty.
Associated revisions
History
#1 Updated by Jürgen Fischer over 10 years ago
- Category set to Vectors
#2 Updated by Giovanni Allegri over 10 years ago
Fixed in pull request https://github.com/qgis/QGIS/pull/1481
#3 Updated by Nathan Woodrow over 10 years ago
- Status changed from Open to Closed
Fixed in changeset c3bd82aa7be2d20528a2b380dac65f7650e5d8ac.