[Geoserver-devel] [JIRA] (GEOS-7873) Styles in json layergroup still doesn't work

Federico Guizzardi created an issue

GeoServer / BugGEOS-7873

Styles in json layergroup still doesn’t work

Issue Type:

BugBug

Affects Versions:

2.10.0

Assignee:

Unassigned

Created:

21/Nov/16 10:35 AM

Environment:

  • Geoserver 2.10.0
  • WildFly 10
  • OpenJDK 1.8.0_111

Priority:

MediumMedium

Reporter:

Federico Guizzardi

Hi,
after the patch releaserd for GEOS-7771, geoserver still returns a bad json for layergroup styles.

My test is:

  1. run a geoserver (2.10)
  2. connect to …/geoserver/web and make login
  3. go to Layer Groups and add a new one (called example001) with, at least, four layer with default style checked for the first and the third, select a polygon for others two
  4. go to …/geoserver/rest/layergroups/example001.json

If you look at the file, you can see somthing like

> styles: {

> style: [

> “null”,

> { bq. name: “polygon”, bq. href: “http://localhost/geoserver/rest/styles/polygon.json” bq. },

> “null”,

> “polygon”,

> “http://localhost/geoserver/rest/styles/polygon.json

> ]

> }

instead of

> styles: {

> style: [

> “null”,

> { bq. name: “polygon”, bq. href: “http://localhost/geoserver/rest/styles/polygon.json” bq. },

> “null”,

> { bq. name: “polygon”, bq. href: “http://localhost/geoserver/rest/styles/polygon.json” bq. },

> ]

> }

Cheers.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.552.6#100018-sha1:e2f2197)

Atlassian logo