- Create a layer group
- Add an odd numbered amount of layers (at least 3)
- Ask for legend with following options: legend_options=forceLabels:on;forceTitles:off (.../geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.3.0&FORMAT=image/png&WIDTH=29&HEIGHT=29&legend_options=forceLabels:on;forceTitles:off&LAYER=X)
- Expected result: A legend with all names, but no headers
http://prntscr.com/h9sbp8 If I increase the amount of layers to 4 it works, if I increase it to 5 it will say indexoutofboundsexception: index: 5 etc. |