Bug report #13453

QGIS crashes when applying rule based label using data defined setting

Added by Nyall Dawson over 7 years ago. Updated over 7 years ago.

Assignee:Martin Dobias
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:21500


Steps to reproduce:
1. add a new rule based label
2. apply a data defined override to a property in the label
3. try to apply the layer settings - crash!

Associated revisions

Revision 1c877f11
Added by Martin Dobias over 7 years ago

Fix another crash with rule-based labeling + data-defined properties (fixes #13453)

The writing of data-defined properties to XML was using invalid data.
Also fixes a possible memory leak in assignment operator.
Thanks Nyall for help tracking it down!

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 63526840AE) and commissioned to Gis3W s.a.s.


#1 Updated by Martin Dobias over 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF