bad or not json output via rest call to layergroup

Description

  • 2 grouped layers (VECTEUR and AUTOROUTE) are created with many layers (not the same set of layer)

  • each layer has its own SLD style assigned

  • all layers can be previewed properly

The call to http://carto-geoserver:8080/geoserver/rest/workspaces/SDIS/layergroups/VECTEUR.json returns nothing and we get this exception in geoserver logs:

The call to http://carto-geoserver:8080/geoserver/rest/workspaces/SDIS/layergroups/VECTEUR.xml returns good data (see vecteur.xml file).

The call to http://carto-geoserver:8080/geoserver/rest/workspaces/SDIS/layergroups/AUTOROUTES.json returns strange data in styles tag (see AUTOROUTES.json file).

And here is the xml version (see AUTOROUTES.xml file).

Is this a known bug, as I not found something equivalent? Is there a workaround?

Thanks,
regards,
Rot Ulet.

Environment

postgis 9.4

  • Debian GNU/Linux 8

  • geoserver 2.7.2

  • jetty 9.2.11.v2015052

Status

Assignee

Unassigned

Reporter

Rot Ulet

Triage

None

Fix versions

None

Affects versions

Components

Priority

High
Configure