Bug report #12888
Symbol with data-defined size that evaluate to NULL are drawn
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | |||
Category: | - | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20978 |
Description
To allow the preview and the drawing of the symbol with data-defined properties, the property is given a default value when the expression is NULL.
As a result, for DD size expression, symbols are drawn with the default size when the field is NULL. This gives different results than 2.8.
Associated revisions
converted size expr evaluate to 0 on NULL field
fix #12888
use coalesce(expr,0) to have zero size if expression evaluates to NULL
otherwise the default size would be used
History
#1
Updated by Jürgen Fischer about 9 years ago
see also discussion in PR #2111
#2
Updated by Vincent Mora about 9 years ago
- Pull Request or Patch supplied changed from No to Yes
- Status changed from Open to In Progress
Fix here: https://github.com/qgis/QGIS/pull/2113
#3
Updated by Vincent Mora about 9 years ago
- Status changed from In Progress to Closed
Fixed in changeset 4fb22b4ef6daccdca163c696b16c950afc3c93b9.