| Hi, after the patch releaserd for GEOS-7771, geoserver still returns a bad json for layergroup styles. My test is:
- run a geoserver (2.10)
- connect to .../geoserver/web and make login
- 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
- 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. |