[Geoserver-devel] [jira] Created: (GEOS-1483) Check serial support in postgis

Check serial support in postgis
-------------------------------

                 Key: GEOS-1483
                 URL: http://jira.codehaus.org/browse/GEOS-1483
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.6.0-beta4
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.6.0-RC1

From a user report:

{panel}
CREATE DATABASE animals_spots;
CREATE TABLE sightings (uid serial, species VARCHAR(50));
ALTER TABLE sightings ADD PRIMARY KEY(uid);
//add geom col called 'geom' using EPSG 27700 - cant think of code of top of
my head

I than created the data source in GS and then the FeatureType.

added the OS map of the area to the map, and a sighting layer, added points
and when clicking the buttom that I had bound the
<code>
      sighting_layer.commit()
</code>
to i got the NameSpace:sightings is read-only error.

I then changed the uid field to INTEGER and it worked fine.
{panel}

--
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