[Geoserver-devel] [JIRA] (GEOS-8566) unable to upload css style to geoserver 2.12.1

Tobias Warneke created an issue

GeoServer / BugGEOS-8566

unable to upload css style to geoserver 2.12.1

Issue Type:

BugBug

Affects Versions:

2.12.1

Assignee:

Unassigned

Components:

CSS

Created:

01/Feb/18 1:10 PM

Priority:

MediumMedium

Reporter:

Tobias Warneke

Uploading a simple css style to geoserver I get:

urlhttp://192.168.10.115:8088/geoserver/rest/workspaces/test_fh_postgresql/styles?name=gaja_ctl_schaden&raw=true method[PostMethod]:
WARNING [com.gingko.prjsetup.prjinstall.geoserver.GeoServerInstaller]: style ‘gaja_ctl_schaden’ not successful installed
WARNING [it.geosolutions.geoserver.rest.HTTPUtils]: Bad response: code[415] msg[Unsupported Media Type]

I provide a content-type of application/vnd.geoserver.geocss+css to my post request.

The same does work unchanged on Geoserver 2.10.x.

After digging around a realized that the content-type of the geocss plugin didnt change, so what is wrong here?

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#100078-sha1:b9ef3f0)

Atlassian logo