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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.12.0
    • Fix Version/s: 2.12.1
    • Component/s: REST
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tbarsballe Torben Barsballe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: