Bug report #7406

New feature passed to init function doesn't has no fields

Added by Nathan Woodrow almost 11 years ago. Updated almost 11 years ago.

Assignee:Martin Dobias
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:No Copied to github as #:16373


When using a Python function with a form calling feature['columnname'] doesn't work for new features.
It works for existing features.
The new feature doesn't get assigned the field map.


#1 Updated by Nathan Woodrow almost 11 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Fixed in 72b476e7

Also available in: Atom PDF