Bug report #7406

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

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

Status:Closed
Priority:Normal
Assignee:Martin Dobias
Category:-
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

Description

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.

History

#1 Updated by Nathan Woodrow over 11 years ago

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

Fixed in 72b476e7

Also available in: Atom PDF