[Geoserver-devel] [JIRA] (GEOS-7181) New layerGroup via REST ignores styles in a workspace

Andrew Chamberlain created an issue

GeoServer / BugGEOS-7181

New layerGroup via REST ignores styles in a workspace

Issue Type:

BugBug

Affects Versions:

2.7.1.1

Assignee:

Unassigned

Attachments:

tasmania.xml

Components:

REST

Created:

01/Sep/15 11:39 AM

Environment:

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

Priority:

LowLow

Reporter:

Andrew Chamberlain

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@anonymised.com [http://localhost:8080/geoserver/rest/layergroups](http://localhost:8080/geoserver/rest/layergroups)

where tasmania.xml is the attached file.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-02-259#70102-sha1:6147844)

Atlassian logo