[Geoserver-devel] [jira] (GEOS-6154) Layer groups and/or their component layers appear multiple times in capabilities document

Tom Colley created BugGEOS-6154
Layer groups and/or their component layers appear multiple times in capabilities document

Issue Type:

BugBug

Affects Versions:

2.4.1

Assignee:

Andrea Aime

Created:

15/Nov/13 3:03 AM

Description:

Behaviour of layer groups seems inconsistent in the capabilities document. Single layer groups will sometimes have their individual layers exposed as well as the group. When added to another group, single groups will sometimes be exposed multiple times, under the correct group and in the root.

Steps to replicate with Geoserver demo data:

View the getcapabilities document without making any changes to demo data.

tasmania only appears as a group in the capabilities document. tiger-ny and spearfish both show as groups as well as exposing their individual layers.

Create a container group and add the Tasmania group to it. tasmania group appears under the container group and also under the root.

Create a second container group and add the tiger-ny group to it. tiger-ny group appears only under the container group and not in the root, correct behaviour. However all of the components of tiger-ny still show up as individual layers under the root.

Go into one of the tiger-ny layers and uncheck the Advertised box so the layer doesn’t show up on it’s own, the tiger-ny group then appears under the root as well as under the container group.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Tom Colley

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)