Bug report #13726

New line attributes are lost

Added by Radim Blazek almost 5 years ago. Updated almost 5 years ago.

Status:Closed
Priority:Normal
Assignee:Radim Blazek
Category:GRASS
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

Description

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.

Associated revisions

Revision 0ceeb512
Added by Radim Blazek almost 5 years ago

[GRASS] fixed new line attributes lost, fixes #13726

Revision c38e4592
Added by Radim Blazek almost 5 years ago

[GRASS] fixed new line attributes lost, fixes #13726

(cherry picked from commit 0ceeb512fb486ebf6f1006b39cbea428fc524057)

History

#1 Updated by Radim Blazek almost 5 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF