Bug report #16766
Data defined Assistant: closing the dialog without setting an expression invalidates the widget
|Affected QGIS version:||3.0.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24665|
I thought I had reported this issue but I couldn't find it in the tracker and given that it's still active...
Open a layer property dialog, Symbology tab
Select a parameter with a data-defined widget
Click the widget, choose Assistant... opening the DD configuration dialog
Close the new dialog without any change
The DD widget becomes red and is set with an errored expression.
I think that closing the dialog without any change shouldn't change DD widget expression.
Btw, hard to find the right category for this kind of issue