[Geoserver-devel] [jira] (GEOS-6150) Exception when rendering PostGIS layer with conditional CQL/SLD using decimal/float values for integer attribute

Matt Bertrand created BugGEOS-6150
Exception when rendering PostGIS layer with conditional CQL/SLD using decimal/float values for integer attribute

Issue Type:

BugBug

Affects Versions:

2.4.1, 2.3.5

Assignee:

Andrea Aime

Attachments:

stacktrace.txt

Components:

PostGIS, WMS

Created:

12/Nov/13 2:52 PM

Description:

When applying a conditional SLD rule or CQL filter of “population >= 2.0” for example, where “population” is an integer attribute of a PostGIS layer, GetMap requests fail with the following exception:

org.postgresql.util.PSQLException: ERROR: invalid input syntax for integer: “2.0”

Stack trace attached.

Environment:

Ubuntu 12.04, PostGIS 9.1

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Matt Bertrand

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)