David Winslow created GEOS-5058:
-----------------------------------
Summary: Creating PostGIS tables via REST API doesn't validate that created table has valid Postgres table name
Key: GEOS-5058
URL: https://jira.codehaus.org/browse/GEOS-5058
Project: GeoServer
Issue Type: Bug
Components: REST
Reporter: David Winslow
Assignee: Justin Deoliveira
If you upload a Shapefile with a very long filename (exceeding the identifier length limit for Postgres which defaults to 63) then GeoServer will issue a SQL command to CREATE TABLE with an invalid identifier. By spec, Postgres ignores the remainder of the identifier, so the created table will not have the expected name. GeoServer then fails the rest of the layer configuration due to the expected table name not being found (and the table remains in the database anyway.)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira