[Geoserver-devel] [jira] Created: (GEOS-571) Cannot set type to Date

Cannot set type to Date
-----------------------

         Key: GEOS-571
         URL: http://jira.codehaus.org/browse/GEOS-571
     Project: GeoServer
        Type: Bug

  Components: Configuration
    Versions: 1.3.0 RC7
Environment: Win XP
    Reporter: Amr A. Alam
Assigned to: dblasby
    Priority: Critical

Setting up WFS backed by a postgis DB.
I have a column of type date in postgis. In geoserver, this shows up as dateTime by default; that's fine, but when I change it to 'date' (which is an available option) the feature type description doesn't seem to be affected at all!

this is what i get for that attribute regardless of whether i've picked 'date' or 'dateTime'.
<xs:element name="creationdate" minOccurs="0" nillable="true" type="xs:dateTime"/>

This basically makes it impossible to upload to (using geotools) if the date field is set to anything.

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