Column using domain types are ignored in feature definitions
------------------------------------------------------------

                 Key: GEOS-4709
                 URL: https://jira.codehaus.org/browse/GEOS-4709
             Project: GeoServer
          Issue Type: Bug
          Components: PostGIS
    Affects Versions: 2.1.1
         Environment: OS: Ubuntu Server
Java: Java version "1.6.0_18"
Web Server: Apache Tomcat 6.0.24
DB:
- PostgreSQL 8.4.5 on x86_64-pc-linux-gnu, compiled by GCC gcc-4.4.real (Ubuntu 
4.4.3-4ubuntu5) 4.4.3, 64-bit
- PostGIS 1.4.0

            Reporter: Serhat Gülçiçek
            Assignee: Andrea Aime


Before I go into the details I have to report that I downloaded the stable 
version today via 
http://downloads.sourceforge.net/geoserver/geoserver-2.1.1-war.zip.
Though it didn't want to work at all from scratch using a PostGIS DB as the 
PostGIS library was missing. The PostgreSQL library was present though. I was 
getting the following exception "The class class org.postgis.PGbox3d does not 
implement org.postgresql.util.PGobject" without the PostGIS library. Adding the 
PostGIS library manually fixed that problem.
In case this is another bug on it's own, let me know so I can create a detailed 
bug report for it.
----------

If a feature definition contains a column that is a defined as a domain type, 
the column is excluded from the feature definition. No error is given,

The domain type I used and tested it with (both an int and real:
CREATE DOMAIN posreal
  AS real
   CONSTRAINT posreal_check CHECK ((VALUE >= (0)::real));
CREATE DOMAIN posint
  AS integer
   CONSTRAINT posint_check CHECK ((VALUE >= 0));

If I change to column to a regular int or real type it works as it should. 
According to GEOS-1430 it's already fixed a while back.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to