Hi,

I made some tests with Geoserver versions 2.5.2 and 2.6 and for me the 
propertyName parameter does work for several query layers if I use the 
documented syntax 
http://docs.geoserver.org/stable/en/user/services/wms/vendor.html

"For multiple layers the syntax is:
propertyName=(nameLayer11,...,nameLayer1N)...(name1LayerN,...,nameNLayerN)"

Thus, give a separate propertyName list for each QUERY_LAYER. However, I 
noticed that Andrea already did some fix. I hope he will think again if the 
current behaviour has been implemented for reason and if the fix was fixing 
something that was not broken.

My comment on issue https://jira.codehaus.org/browse/GEOS-6604 includes test 
URLs which use our standard demo layers.

-Jukka Rahkonen-


> -----Alkuperäinen viesti-----
> Lähettäjä: sys49152 [mailto:[email protected]]
> Lähetetty: 11. elokuuta 2014 0:43
> Vastaanottaja: [email protected]
> Aihe: [Geoserver-users] WMS GetFeatureInfo with "vendorParams" does not
> work like before after upgrade to 2.5.x
> 
> Last week I've upgraded to GeoServer 2.5.2 from 2.3.4 and now the same
> GetFeatureInfo request in my web site returns different results.
> 
> I am using "vendorParams" to filter layers and their attributes because I dont
> want to show all fields of a table in a popup when they made a query.
> 
> Code:
> 
> 
> With GeoServer 2.3.4 if I run a WMS getFeatureInfo request using code above it
> works like it should - it shows only desired attributes which are mentioned in
> "vendorParams" and only from 2 layers i have stated in "layers".
> 
> But after upgrade to 2.5.2 it looks like that you cannot put attributes from 
> more
> than 1 layer because it returns
> 
> *"Internal error occurred PropertyDescriptor is null - did you request a 
> property
> that does not exist?"*
> 
> <http://osgeo-
> org.1560.x6.nabble.com/file/n5155715/pitanje_za_geoserver_i_openlayers.jpg
> >
> 
> If I leave only one layer in "layers" and its attributes in "vendorParams"
> it works, but if you put more than one then throws an error.
> 
> Is this a bug or ...??
> 
> Thanks.
> 
> 
> 
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-
> GetFeatureInfo-with-vendorParams-does-not-work-like-before-after-upgrade-
> to-2-5-x-tp5155715.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to