Bug report #1681

QgsVectorFileWriter isn't case sensitive

Added by Borys Jurgiel over 15 years ago. Updated over 15 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Vectors
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:11741

Description

QgsVectorFileWriter allows to create case sensitive fields like 'foo' and 'FOO' in one table, but values of both attributes are written to the first case-insensitively-found field:

1. Create a new layer with two attributes like 'foo' and 'Foo' and add some features
2. Save it as a new layer: menu Layer -> Save as shapefile
3. The new layer's table contains corrupted data

It also doesn't respect the field width - see also #1664

History

#1 Updated by Giovanni Manghi over 15 years ago

Still a issue on qgis 1.2 from trunk

#2 Updated by Jürgen Fischer over 15 years ago

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

fixed in 16b91c6b (SVN r11219)

Also available in: Atom PDF