insert fails if source feature type does not perfectly match target feature type
--------------------------------------------------------------------------------
Key: GEOS-924
URL: http://jira.codehaus.org/browse/GEOS-924
Project: GeoServer
Issue Type: Bug
Reporter: Justin Deoliveira
Assigned To: Justin Deoliveira
Fix For: 1.6.0
Attachments: GeoServerFeatureStore.java.patch
consider a feature type from a shapefile with the columns ( foo, and shape ). When we serve this in GeoServer, all feature types extend from gml abstract feature type, which defines additional attributes ( name, description, etc...). So what we end up with is a "source" feature type ( the one served by geoserver ) as [name,description,boundedBy,name,shape], but a "target" feature type of [name,shape].
If a feature of hte source type gets sent to the datastore via addFeautres(), the transaction will fail because the types do not match.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira