Bug report #19042

Forms in Layer Properties - default values aren't remembered.

Added by Jadwiga Trojak almost 6 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Forms
Affected QGIS version:3.0.3 Regression?:No
Operating System:Windows 7 Professional Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:26872

Description

I noticed that default values in Forms (Layer Properties) aren't remembered.
I have a field (in gpkg layer) that I want to fill with the default value, applied on update, based on the expression (variable @user_account_name).
After filling out the section 'Defaults' with an expression (Default value), and pressing 'OK' or 'Apply' button the change isn't remebered.
Default value automatically changes to 'NULL'.

Also available in: Atom PDF