Opened 15 years ago
Closed 15 years ago
#1681 closed bug (fixed)
QgsVectorFileWriter isn't case sensitive
Reported by: | borysiasty | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.2.0 |
Component: | Vectors | Version: | Trunk |
Keywords: | QgsVectorFileWriter, save vector, attributes, case sensitivity | Cc: | pcav, warmerdam |
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
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:
- Create a new layer with two attributes like 'foo' and 'Foo' and add some features
- Save it as a new layer: menu Layer -> Save as shapefile
- The new layer's table contains corrupted data
It also doesn't respect the field width - see also #1664
Change History (3)
comment:1 by , 15 years ago
Cc: | added |
---|---|
Milestone: | Version 1.0.3 → Version 1.2.0 |
comment:2 by , 15 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
Still a issue on qgis 1.2 from trunk