[Geoserver-devel] [JIRA] (GEOS-8389) IndexOutOfBoundsException on group layer legend

Willem Eppen created an issue

GeoServer / BugGEOS-8389

IndexOutOfBoundsException on group layer legend

Issue Type:

BugBug

Assignee:

Unassigned

Attachments:

image-2017-11-13-10-37-43-793.png

Created:

13/Nov/17 10:41 AM

Priority:

MediumMedium

Reporter:

Willem Eppen

  • 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.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100070-sha1:fb3a7a8)

Atlassian logo