Bug report #10522
Data-defined symbology not working with field names that are valid expressions
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18932|
When using a field name that is also a valid expression (e.g. "a - b"), the field name is understood to be an expression - which is not always the case.
The GUI should provide automatic quoting of such fields. This affects both data-defined symbol layer properties and size scale / rotation field of renderers. Labeling is not affected.