Bug report #13352
Symbology - Size assistant bug
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
The excellent Size assistant dialogue for setting data-driven symbology properties generates an expression where the field name is not set into quotation marks. This causes the expression to not work. manually editing the expression, or adding quotation marks to the name of the field in the assistant is a workaround.
#4 Updated by Vincent Mora over 8 years ago
- Assignee changed from Vincent Mora to Denis Rouzaud
If the bug is with spaces, then the problem comes from QgsFieldModel and is propagated to QgsFieldExpressionWidget, it is also there when using e.g. the expression widget in classified symbology.
I wonder if QgsVectorLayers::fields() should add the quotes or if it should be done later (e.g. in QgsFieldModel or in QgsFieldExpressionWidget).
Denis: what do you think ?