Hi Qunncyme,

indeed it looks like a brutal bug.
I'm adding a test case right now, thanks for the catch

Gabriel
On Wednesday 27 August 2008 04:27:54 am quincyme wrote:
> I encountered a blocker bug with WFS Inserts into a backend ArcSDE table
> where the row id column is USER managed.
>
> I tracked the error leading to
>
> in geotools-2.5-M3
> in ArcSdeFeatureWriter.java
> in method insertSeRow(final SimpleFeature, final SeLayer)
>
> if ((fidReader instanceof FIDReader.SdeManagedFidReader)) {
>   SeObjectId newRowId = insertStream.lastInsertedRowId();
>   newId = Long.valueOf(newRowId.longValue());
> } else {
>   throw new DataSourceException("fid reader is not user nor sde managed");
> }
>
> It appears that the current code will only allow for inserts into ArcSDE
> tables where the row id is SDE managed?



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to