Bug report #13815

Wrong attributes in GRASS vector imported via browser

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 #:21840

Description

Attributes in GRASS vector which was imported in browser are wrong if source layer features start with feature id 0. In that case, category attached to geometries is increased by 1 (to avoid category 0) while category in attribute table is not. This was introduced in 2.12.0

Associated revisions

Revision fd9f0b52
Added by Radim Blazek almost 5 years ago

[GRASS] fixed cat shift when importing vectors via browser, fixes #13815

Revision 6335de9b
Added by Radim Blazek almost 5 years ago

[GRASS] fixed cat shift when importing vectors via browser, fixes #13815

(cherry picked from commit fd9f0b52682f42eed9484159c8bd152144b7d4b3)

History

#1 Updated by Radim Blazek almost 5 years ago

  • Status changed from Open to Closed

#2 Updated by Radim Blazek almost 5 years ago

Backported also to 2.12 (will be in 2.12.1).

Also available in: Atom PDF