Bug report #13726
New line attributes are lost
|Affected QGIS version:||2.12.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 #:||21753|
When a new line is digitized and attributes are entered in form, the attributes are lost.
The bug is in QgsMapToolAddFeature::cadCanvasReleaseEvent() which does not set line/polygon features to valid. The GRASS provider checks if the feature is valid.