GetFeatureInfo breaks on cascaded WFS stores
--------------------------------------------
Key: GEOS-4868
URL: https://jira.codehaus.org/browse/GEOS-4868
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 2.1.2
Reporter: Andrea Aime
Assignee: Gabriel Roldán
Fix For: 2.1.3
Trying to perform a GetFeatureInfo on a cascaded WFS 1.0 server results in the following:
{code}
Caused by: java.lang.ClassCastException: org.opengis.filter.IncludeFilter cannot be cast to org.geotools.filter.Filter
at org.geotools.xml.filter.FilterOpsComplexTypes$BinaryLogicOpType.encode(FilterOpsComplexTypes.java:2546)
at org.geotools.xml.filter.FilterOpsComplexTypes$LogicOpsType.encode(FilterOpsComplexTypes.java:703)
at org.geotools.xml.filter.FilterOpsComplexTypes.encodeFilter(FilterOpsComplexTypes.java:95)
at org.geotools.xml.filter.FilterOpsComplexTypes$FilterType.encode(FilterOpsComplexTypes.java:904)
at org.geotools.xml.wfs.WFSBasicComplexTypes$QueryType.encode(WFSBasicComplexTypes.java:590)
at org.geotools.xml.wfs.WFSBasicComplexTypes$GetFeatureType.encode(WFSBasicComplexTypes.java:196)
at org.geotools.xml.DocumentWriter.writeFragment(DocumentWriter.java:317)
at org.geotools.xml.DocumentWriter.writeDocument(DocumentWriter.java:215)
at org.geotools.data.wfs.v1_0_0.WFS_1_0_0_DataStore.getFeatureReaderPost(WFS_1_0_0_DataStore.java:676)
at org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.createFeatureReaderPOST(NonStrictWFSStrategy.java:114)
at org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.createFeatureReader(NonStrictWFSStrategy.java:98)
at org.geotools.data.wfs.v1_0_0.NonStrictWFSStrategy.getFeatureReader(NonStrictWFSStrategy.java:72)
at org.geotools.data.wfs.v1_0_0.WFS_1_0_0_DataStore.getFeatureReader(WFS_1_0_0_DataStore.java:757)
at org.geotools.data.DefaultFeatureResults.reader(DefaultFeatureResults.java:213)
at org.geotools.data.DefaultFeatureResults.getCount(DefaultFeatureResults.java:331)
at org.geotools.data.store.DataFeatureCollection.size(DataFeatureCollection.java:270)
at org.geotools.feature.collection.DecoratingSimpleFeatureCollection.size(DecoratingSimpleFeatureCollection.java:176)
at org.geotools.feature.collection.DecoratingSimpleFeatureCollection.size(DecoratingSimpleFeatureCollection.java:176)
at org.geoserver.wms.GetFeatureInfo.execute(GetFeatureInfo.java:278)
at org.geoserver.wms.GetFeatureInfo.execute(GetFeatureInfo.java:173)
... 79 more
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira