Opened 14 years ago

Closed 14 years ago

#3036 closed bug (fixed)

save as to shapefile for postgis layers with tool long column names doens't work

Reported by: cmoe Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.6.0
Component: Data Provider Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: RedHat
Platform Version: Awaiting user input: no

Description

Save as to shapefile for postgis layers with tool long column names doens't work.

  1. Load a postgis layer with a column that has more then 10 charactes in its name (e.g. archive_date)
  2. save as esri shapefile
  3. The following error appears:
Export to vector file failed.
Error: created field archive_date not found (OGR error: 
Normalized/laundered field name: 'archive_date' to 'archive_da')
  1. The created shapefile is empty

The expected truncation from archive_date to archive_da in the resulting shapefile works (the shp, shx,dbf is created). The dbf shows the truncated archive_da but no features are exported.

Change History (1)

comment:1 by jef, 14 years ago

Resolution: fixed
Status: newclosed

fixed in r14276.

Note: See TracTickets for help on using tickets.