[Geoserver-devel] [JIRA] (GEOS-7443) Styles in json layergroup

Federico Guizzardi created an issue

GeoServer / BugGEOS-7443

Styles in json layergroup

Issue Type:

BugBug

Affects Versions:

2.8.2

Assignee:

Unassigned

Components:

REST

Created:

02/Mar/16 12:54 PM

Environment:

CentOS 6.5, Tomcat 7

Priority:

MediumMedium

Reporter:

Federico Guizzardi

Hi all,

I found a bug related the list of styles in a layergroup json.
Step to reproduce:

  • run a geoserver (tested with 2.6.1 and 2.8.2)
  • connect to …/geoserver/web and make login
  • go to Layer Groups and add a new one (called example001) with, at least, three layer with default style checked for every ones
  • go to …/geoserver/rest/layergroups/example001.json
  • If you look at the file, you can see somthing like

“styles”:

{“style”:[“”]}

,“style”:[“”,“”]

that is a little bit different compared with expectation. I think it would be somthing like this:

“styles”:

{“style”:[“”,“”,“”]}

An interesting thing: looking the same layergroup using XML instead JSON there’s no problem.

Thanks for support.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.2.0-OD-03-010#72000-sha1:d4f0e55)

Atlassian logo