insert fails if source feature type does not perfectly match target feature type

Description

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

If a feature of hte source type gets sent to the datastore via addFeautres(), the transaction will fail because the types do not match.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 4:13 PM

CodeHaus Comment From: aaime - Time: Fri, 4 Dec 2009 05:10:17 -0600
---------------------
<p>The patch looks good (I think)</p>

codehaus
April 10, 2015, 4:13 PM

CodeHaus Comment From: aaime - Time: Fri, 2 Apr 2010 16:29:43 -0500
---------------------
<p>Wondering if the issue is still valid and the patch still applies...</p>

codehaus
April 10, 2015, 4:13 PM

CodeHaus Comment From: aaime - Time: Sun, 1 Jul 2012 04:05:00 -0500
---------------------
<p>I believe this one is still relevant, yet it's probably a bit too lax: the code should check if the extra attributes are the GML ones, if they are not an exception is imho warranted</p>

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

None

Affects versions

None

Priority

Medium
Configure