[Geoserver-devel] [jira] (GEOS-6240) Layer Preview broken by Layer Group Container Tree

Jody Garnett created BugGEOS-6240
Layer Preview broken by Layer Group Container Tree

Issue Type:

BugBug

Affects Versions:

2.4.1

Assignee:

Andrea Aime

Components:

WMS

Created:

19/Dec/13 2:48 AM

Description:

This makes me a bit sad … since Layer Group container tree is doing exactly what I want for the GetCapabilities document.

Steps to reproduce:

#. Use importer to drag in natural earth physical layers
#. Create a Container Tree group layer “physical”. You will have to generate the bounds after adding the layers (and fill in EPSG:4326 yourself). Turn off tile-cache configuration (as this layer is unnamed and cannot be rendered).
#. Navigate to the Layer Preview screen

org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor public org.geoserver.web.demo.OpenGeoMapPreviewPage() at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:212) at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57) 
...
Caused by: java.lang.UnsupportedOperationException: LayerGroup mode Container Tree can not be rendered at org.geoserver.catalog.LayerGroupHelper.allLayersForRendering(LayerGroupHelper.java:100) at org.geoserver.catalog.LayerGroupHelper.allLayersForRendering(LayerGroupHelper.java:89) at org.geoserver.catalog.impl.LayerGroupInfoImpl.layers(LayerGroupInfoImpl.java:213)

Environment:

osx

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jody Garnett

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)