Bug report #8373

fieldNameMap() crashes QGIS

Added by Alexander Bruy about 6 years ago. Updated about 6 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Vectors
Affected QGIS version:master Regression?:No
Operating System:all Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:Yes Copied to github as #:17148

Description

Calling fieldNameMap() on vector data provider crashes QGIS.

To reproduce load shapefile and run in Python console next commands:

l = iface.mapCanvas().currentLayer()
fm = l.dataProvider().fieldNameMap()

History

#1 Updated by Alexander Bruy about 6 years ago

  • Crashes QGIS or corrupts data changed from No to Yes

#2 Updated by Alexander Bruy about 6 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Seems fixed with 8c81032

Also available in: Atom PDF