Bug report #16766

Data defined Assistant: closing the dialog without setting an expression invalidates the widget

Added by Harrissou Santanna about 6 years ago. Updated over 5 years ago.

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

Associated revisions

Revision 4f9e2a5f
Added by Harrissou Santanna almost 6 years ago

Do not change property widget status if the dialog is rejected

refs #16766


#1 Updated by Harrissou Santanna over 5 years ago

  • Affected QGIS version changed from master to 3.0.0

Things have been fixed when using the layer properties dialog but not in the styling panel

Also available in: Atom PDF