[Geoserver-devel] [jira] (GEOS-5228) Rendering Transformations which create attributes cause GetFeatureInfo to fail

Martin Davis created BugGEOS-5228
Rendering Transformations which create attributes cause GetFeatureInfo to fail

Issue Type:

BugBug

Assignee:

Andrea Aime

Components:

WMS

Created:

17/Jul/12 5:50 PM

Description:

When using an SLD containing a RenderingTransformation that creates a FeatureCollection output containing new attributes, and if those attributes are referenced in the SLD rules, GetFeatureInfo fails. This is because it applies a filter based on the style rules to the original dataset, not the transformed one. If the filter attempts to use an attribute not present in the source dataset, the filter eval throws an exception.

To reproduce, use the PointStacker RT in an SLD applied to a point dataset.
Preview the layer. Execute GetFeatureInfo by double-clicking on a rendered point in the Layer Preview. The exception occurs at this point.

It’s not clear what an appropriate solution is. Should the transform be rerun to produce a dataset which is safe to query? Or should GetFeatureInfo simply be prevented from executing on a style which contains a RenderingTransformation?

Project:

GeoServer

Priority:

MinorMinor

Reporter:

Martin Davis

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