Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.7.0
-
Fix Version/s: 2.7.2
-
Component/s: shapefile plugin
-
Labels:None
Description
The ShapefileAttributeReader does not properly resolve field names to their indices for duplicate fields. Duplicate fields get the value of geometry due to the fall-through case in the ShapefileAttributeReader.
The ShapefileDataStore does assigns the duplicate field a new name, but knowledge of the original field name or the duplicate instance number are not preserved. As a result when the ShapefileAttributeReader tries to resolve field names to their indices, it cannot find the field.
The included patch is against branches/2.7.x.
Activity
S Anwar
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | gt-2.7.1-shapefile.patch.txt [ 55172 ] | |
| Attachment | dup_column.zip [ 55173 ] |
Andrea Aime
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.7.2 [ 17359 ] | |
| Resolution | Fixed [ 1 ] |
Jody Garnett
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |