Bug report #21304
"default value" is not applied when pasting features
|Affected QGIS version:||3.5(master)||Regression?:||Yes|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||29122|
In QGIS master the "default value" for a field is not applied when pasting a new feature.
It works ok (as usual) for new digitized features.
Does not affects 3.4.4
1) set a default value for a field of a vector
2) digitize a new feature, do not fill the column where the default was set > default is applied
3) copy a feature from another layer and paste it in the layer with the default (the source layer must not have a filled field that can possibly fill the equivalent field in the target layer) > default is not applied