This would be a bug (well a regressions since the functionality does not work as before). Please report it to Jira :)
On the bright side GetFeatureInfo now respects your style settings, so you should get fewer false positives (where users click on something that is not actually displayed on the map they are looking at). You may want to try an turning on the "old" implementation of GetFeatureInfo - just to see if it works better for your use case? See the docs for the command line option ... See http://osgeo-org.1560.x6.nabble.com/Improved-GetFeatureInfo-committed-on-trunk-td5094720.html -- Jody Jody Garnett On Sun, Aug 10, 2014 at 2:42 PM, sys49152 <[email protected]> wrote: > 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
