Uploaded image for project: 'GeoServer'
  1. GEOS-8566

unable to upload css style to geoserver 2.12.1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.12.1
    • Fix Version/s: 2.12.3
    • Component/s: CSS
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              t.warneke Tobias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: