Uploaded image for project: 'GeoServer'
  1. GEOS-8389

IndexOutOfBoundsException on group layer legend

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.12.0
    • Fix Version/s: 2.11.4, 2.12.2, 2.13-beta
    • Component/s: None
    • Labels:
      None

      Description

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

      UPDATE:
      Using geoserver 2.12. 0

      http://prntscr.com/h9t6d2

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              w.eppen Willem Eppen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Stride room