We're updating the issue view to help you get more done. 

Upload sld style on geoserver of version 1.1.0 results in content replaced with StyledLayerDescriptorImpl

Description

If you make POST request to
/rest/workspaces/{workspace}/styles/{style}?raw=true&name={name}
or anithing POST request with sld style of version 1.1.0
body is replaced with something like follows

1 2 3 4 <?xml version="1.0" encoding="UTF-8"?> <sld:StyledLayerDescriptor xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:se="http://www.opengis.net/se" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:sld="http://www.opengis.net/sld"> org.geotools.styling.StyledLayerDescriptorImpl@1cad93ed </sld:StyledLayerDescriptor>

Environment

None

Status

Assignee

Andrea Aime

Reporter

Паргев Аветисян

Triage

None

Fix versions

Affects versions

1.1.0

Priority

Medium