Hallo.

Have done some tests and found a few things. The issue is that two
simultaneous getfeatureinfo requests, to two different layers - one each,
with content.ftls that extracts an attribute value like so: 
<ul>
<#list features as feature>
<li>
${feature.type.title}

${feature.KNNAMN.value}

<ul>

- one content.ftl per layer, requesting feature attributes of different
names - will have one request fail because Geoserver applies the same
content.ftl to both layers and as such can't find the field name to extract
a value from for one of the requests. 

It happens for some layers regardless of Geoserver version, OS version /
type, java version, shape or Postgis table / view, heavy geometry, weird
characters in attribute table. 

http://www.arcgis.com/home/item.html?id=41f5d23fef8f410590f2d934c7dba81a#!
and
http://www.arcgis.com/home/item.html?id=912b806e3b864b5f83596575a2f7cb01#!
appear affected. 

The issue has to do with Getfeatureinfo 1.1.1 and only when requesting
Freemarker transformation = feature.value, i.e text/html . GML or text
replies have no issues. 


I tried replacing the freemarker libs in geoservers /lib/ but it didn't make
a difference regarding this. 

If anyone has any suggestions I would be very grateful.

Thanks for reading,
David




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Geoserver-2-5-4-getFeatureInfo-template-processing-error-intermittently-for-specific-templates-tp5228955p5252902.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to