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

New layerGroup via REST ignores styles in a workspace

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects versions: 2.7.1.1
    • Fix versions: 2.7.3, 2.8.1
    • Components: REST
    • Labels:
      None
    • Environment:

      JDK 7 (64-bit), Linux (Red Hat 6.6)

      Description

      When creating a layergroup via the REST API, any style in a workspace is ignored in favour of the default style for the layer, as if an empty <style> element was submitted.

      Steps to replicate:

      1) Transfer/copy styles used by "tasmania" layer group into the "topp" workspace (suffix names with "_ws)".
      2) Attempt to create layergroup with following command:

      curl –u admin:XXXXXXXX –XPOST –H 'Content-type: text/xml' -d@tasmania.xml http://localhost:8080/geoserver/rest/layergroups

      where tasmania.xml is the attached file.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrew_c Andrew Chamberlain
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: