[Geoserver-devel] [JIRA] (GEOS-8869) Cannot set default style using layer PUT

Torben Barsballe created an issue

GeoServer / BugGEOS-8869

Cannot set default style using layer PUT

Issue Type:

BugBug

Assignee:

Unassigned

Created:

01/Aug/18 9:19 PM

Priority:

MediumMedium

Reporter:

Torben Barsballe

When doing a PUT to localhost:8080/geoserver/rest/layers/tiger:poi with the contents {"layer":{"name":"poi","defaultStyle":{"name":"capitals"}}}, the defaultStyle does not get updated.

This only affects JSON PUT, XML works fine.
This also only occurs when the Importer extension is installed. The issue appears to be being caused because ImportLayerJSONMessageConverter is being used instead of XStreamJSONMessageConverter.

The constraints on the Importer converter need to be tightened.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100090-sha1:e01264c)

Atlassian logo