[Geoserver-devel] Bugfix for GetLegendGraphic layergroups support

Hi everybody,
I found a little bug in the GetLegendGraphic layergroup support: when a group includes a coverage and that coverage doesn’t have a legend (for example because at the current scale is not visible) Geoserver throws an exception instead of trying to render the remaining layers.

I prepared a pull request (https://github.com/geoserver/geoserver/pull/189) for master.
The fix is very simple, so I would like to apply it to master and 2.2.x in a short time, waiting for 2.3.0 release to apply it also on 2.3.x.

Any objection?
Mauro

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it