SLD file renamed with REST PUT request when not needed

Description

When a REST PUT request to modify a style contains the name of the style, the underlying SLD file is renamed also if the name is not changed, moreover the XML will still use to the old name.
We should rename the resource only if the old name and the new one are not identical.

Environment

None

Assignee

Unassigned

Reporter

Mauro Bartolomeoli

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure