PUTing a MBStyle without raw=true returns 200 OK but results in an empty style body.

Description

If I try to PUT an MBStyle body to an existing style, I get a 200 OK response but the style body in GeoServer is empty (viewing via the UI, REST API, or REST resource endpoint).
If I add the ?raw=true parameter to my request, the style body has the correct contents.

GeoServer should return an error in the first case.

Environment

None

Assignee

Unassigned

Reporter

Torben Barsballe

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure