Bug report #14765

attribute table from fresh created shp file only shows 'id' and NULL's

Added by Richard Duivenvoorde over 7 years ago. Updated over 7 years ago.

Category:Attribute table
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22722


Self compiled current master on Debian Testing (only, 2.14.2 is behaving correctly).

To reproduce:
- open a project
- create a new polygon shp file, and give it three attributes: aaa, bbb, ccc
- add some features
- stop editing
- open de attribute table (with me in docked widget)
- you'll see all columns have 'id' header, and all values are NULL (see screenshot, though there I created just one attribute)

Data is ok, when you open it in another QGIS version.
Also you can show show labels (see second screenshot)

wrongattributetable.png (197 KB) Richard Duivenvoorde, 2016-05-04 08:09 AM

wrongattributetable2.png (361 KB) Richard Duivenvoorde, 2016-05-04 08:09 AM

Related issues

Related to QGIS Application - Bug report #14766: Attribute table broken (duplicated fields) in master Closed 2016-05-04

Associated revisions

Revision ffcf655b
Added by Matthias Kuhn over 7 years ago

Don't always show first column in attribute table

Add tests for some basic attribute table functionality

Fix #14774
Fix #14765
Fix #14766


#1 Updated by Richard Duivenvoorde over 7 years ago

  • Target version set to Version 2.16
  • Category set to Attribute table

#2 Updated by Nyall Dawson over 7 years ago

  • Priority changed from Normal to Severe/Regression

#3 Updated by zicke - over 7 years ago

It seems that the relation reference widget is also broken: it only shows <NULL> in the combobox. Whereas it shows the values in 2.14.

#4 Updated by Anonymous over 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF