Hi all,
we were a bit rushed and took the easy way, making a massive replacement in
our ftls
<#assign longitud = features?size>
>
by a simple loop
<#assign longitud = 0>
> <#list features as feature>
> <#assign longitud= 1 + longitud>
> </#list>
>
I know it was a grotty solution but .... :(
Cheers
2012/11/9 Andrea Aime <[email protected]>
> On Mon, Sep 24, 2012 at 12:35 PM, Rubén Illana <[email protected]> wrote:
>
>> Is there any change about features object in Geoserver 2.2? We have tried
>> to change freemarker-2.3.18.jar to other versions (2.3.19 and 2.3.13) but
>> we've got the same result.
>>
>
> Hmm... the change that broke size support is
> http://jira.codehaus.org/browse/GEOS-4531,
> in which Niels Charlier (cc'ed) made it possible to support GetFeatureInfo
> over
> complex features too (app schema support).
>
> In this change the code was modified to only
> support TemplateCollectionModel instead
> of TemplateSequenceModel, the former can only be iterated over but cannot
> respond
> to size().
>
> This look like a regression indeed, while I know that app-schema
> collections have troubles
> returning their size (mostly due to the fact they are extremely slow at
> doing that)
> simple feature collections should not have been affected.
>
> Can you open a bug report on jira.codehaus.org?
>
> Cheers
> Andrea
>
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users