[Geoserver-devel] [jira] Created: (GEOS-33) FID handling on inserts

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-33

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GEOS-33
    Summary: FID handling on inserts
       Type: Bug

     Status: Open
   Priority: Major

Original Estimate: 1 day
Time Spent: Unknown
  Remaining: 1 day

    Project: GeoServer
Components:
             Transactions/Locking
   Versions:
             1.1beta

   Assignee: Chris Holmes
   Reporter: Thijs Brentjens

    Created: Thu, 18 Dec 2003 5:14 AM
    Updated: Thu, 18 Dec 2003 5:14 AM
Environment: Oracle database

Description:
If a FID is specified in an insert-request, the FID is added as an extra attribute in GeoServer's feature. This way an extra attribute is added, while not really existing in the database. Inserts may fail because of this. The samples below of a (part of a) request and feature illustrate this.
....
<wfs:Insert>
<TEST_BOUNDARY FID="12345">
   <SHAPE>
    <gml:MultiLineString gid='TEST_BOUNDARY.999999' srsName='http://www.opengis.net/gml/srs/epsg.xml#28992’>
     <gml:lineStringMember>
      <gml:LineString>
       <gml:coordinates decimal='.' cs=',' ts=' '>107000100,448949999 107009792,448936759</gml:coordinates>
      </gml:LineString>
     </gml:lineStringMember>
    </gml:MultiLineString>
   </SHAPE>
   <CLASSIF>999999</CLASSIF>
....

The Feature in Geoserver is:
Feature[ id=feature-2326550 , FID=12345 , SHAPE=MULTILINESTRING ((107000100 448949999, 107009792 448936759)) , CLASSIF=999999]

---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira