Bug report #14177

rules based labeling not saved

Added by Kurt Ludikovsky over 1 year ago. Updated 27 days 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

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, 01/27/2016 04:51 AM

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

Associated revisions

Revision 5d466417
Added by Martin Dobias over 1 year ago

Fix loading of QgsDataDefined from XML (fixes #14177)

History

#1 Updated by Martin Dobias over 1 year ago

  • Assignee set to Martin Dobias

#2 Updated by Martin Dobias over 1 year ago

  • Status changed from Open to Closed

#3 Updated by Jürgen Fischer 27 days ago

  • Category set to Unknown

Also available in: Atom PDF