SldService throws IndexOutOfBoundException when percentages and continuous parameters are both set to true

Description

SldService throws IndexOutOfBoundException when percentages and continuous parameters are both set to true.
Percentages are not correctly assigned here https://github.com/geoserver/geoserver/blob/e61ef4bd6af62bf256af33b2d6d045c59e923fb7/src/extension/sldService/src/main/java/org/geoserver/sldservice/utils/classifier/RasterSymbolizerBuilder.java#L273 since continuos option create a ColorMapEntry for all the breaks.

Environment

None

Activity

Show:
Marco Volpini
January 27, 2021, 5:04 PM

master pr

Fixed

Assignee

Marco Volpini

Reporter

Marco Volpini

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium