Bug report #4687

memory vector layer does not show nor export attributes

Added by Alessandro Pasotti about 11 years ago. Updated almost 4 years ago.

Category:Data Provider
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:14573


See attached file, copy/paste it into python console on an empty project.
Open attributes table.

If you enable editing then the attributes are shown.
After enabling editing, the attributes are subsequently shown even if you disable editing.

Confirmed by me and alexbruy.

qgis_memory_layer_test.py Magnifier - test case (868 Bytes) Alessandro Pasotti, 2011-12-21 03:16 AM

Related issues

Related to QGIS Application - Bug report #5633: Memory Layers Attribute Table do not display the data Closed 2012-05-24


#1 Updated by Richard Duivenvoorde about 11 years ago

please have a look a this email thread:


when you actually call layer.updateFieldMap() the fields are visible.

(has to be fixed anyway....)

#2 Updated by Paolo Cavallini over 10 years ago

  • Crashes QGIS or corrupts data set to No
  • Target version set to Version 2.0.0
  • Affected QGIS version set to master

#3 Updated by Jürgen Fischer over 8 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#4 Updated by Giovanni Manghi almost 6 years ago

  • Regression? set to No
  • Easy fix? set to No

#5 Updated by Alexander Bruy over 5 years ago

  • Description updated (diff)

#6 Updated by Giovanni Manghi almost 4 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF