SLDService raster classifier updates layer default style by mistake

Description

Instead of creating / returning a new style, the raster classifier changes the layer default style in memory, so the latest classification is used until geoserver is reloaded / restarted.
We should create a new style object every time instead.

Environment

None

Status

Assignee

Imran Rajjad

Reporter

Mauro Bartolomeoli

Triage

None

Fix versions

Affects versions

2.15.1

Components

Priority

High
Configure