Bug report #14177

rules based labeling not saved

Added by Kurt Ludikovsky about 8 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:Martin Dobias
Category:Unknown
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22179

Description

In rules based labaling of a vector layer the position of the layer is not saved when it is refered to a attirbute field.

Stesp to reproduce:
  1. create a layer with some points having name, type, position
  2. create a rule that uses the position attribute to set the position of the label (0-7)
  3. save the project
  4. reload the proejct
  5. the label position reference to the position field will be lost an having a fixed value (7)

Version : 2.12.3 64bit
Win 7/64

1_Before_Save.jpg (278 KB) Kurt Ludikovsky, 2016-01-27 04:51 AM

2_After_Reload.jpg (313 KB) Kurt Ludikovsky, 2016-01-27 04:51 AM

Associated revisions

Revision 5d466417
Added by Martin Dobias about 8 years ago

Fix loading of QgsDataDefined from XML (fixes #14177)

History

#1 Updated by Martin Dobias about 8 years ago

  • Assignee set to Martin Dobias

#2 Updated by Martin Dobias about 8 years ago

  • Status changed from Open to Closed

#3 Updated by Jürgen Fischer over 6 years ago

  • Category set to Unknown

Also available in: Atom PDF