[Geoserver-devel] [jira] Created: (GEOS-4679) Importing certain shapefiles into PostGIS via GeoServer REST results in 0 features being saved to the PostGIS table.

Importing certain shapefiles into PostGIS via GeoServer REST results in 0 features being saved to the PostGIS table.
--------------------------------------------------------------------------------------------------------------------

                 Key: GEOS-4679
                 URL: https://jira.codehaus.org/browse/GEOS-4679
             Project: GeoServer
          Issue Type: Bug
          Components: PostGIS, REST
    Affects Versions: 2.1.1
         Environment: CentOS 5.5
Tomcat 6.0.29
            Reporter: Matt Bertrand
            Assignee: Andrea Aime
         Attachments: jpn_Railways_UTM54N.zip

When importing certain shapefiles (one thing they seem to have in common is that they contain thousands of features) into PostGIS via GeoServer's REST API, the table is created in PostGIS with correct attributes but is completely empty (0 records). No error messages are returned. A sample shapefile is attached.

curl -u admin:geoserver -XPUT -H 'Content-type: application/zip' --data-binary @jpn_Railways_UTM54N.zip http://localhost:8080/geoserver/rest/workspaces/cite/datastores/wmdata/file.shp

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira