Versioning datastore does not version enable point tables with a single point inside
------------------------------------------------------------------------------------
Key: GEOS-1584
URL: http://jira.codehaus.org/browse/GEOS-1584
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 1.6.0-RC1
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 1.6.0-RC2
Trying to version enable the following table fails:
{code}
CREATE TABLE notes (
gid serial PRIMARY key,
typeid bigint,
username character varying(32),
title character varying(256),
datetime time default now(),
content text,
comments text
);
INSERT INTO notes (typeid,title,username,content,comments)
VALUES(0,'title','username','content','comment');
SELECT AddGeometryColumn('public', 'notes', 'the_geom', 4326, 'POINT', 2);
UPDATE notes SET the_geom = GeometryFromText('POINT (0.0 0.0)',4326)
WHERE gid = 1;
{code}
--
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