Christopher Dresel created GEOS-5387 |
Issue Type: |
Bug |
Affects Versions: |
2.2, 2.1.4 |
Assignee: |
|
Components: |
REST |
Created: |
31/Oct/12 2:54 AM |
Description: |
When using JSON Rest Interface for layergroups which contains exact 5 layers with default styles an empty result is returned. How to reproduce (with Demodata): Layergroup spearfish contains 6 layers, which are all configured to use default style. http:/127.0.0.1/geoserver/rest/layergroups/spearfish.json -> works (6 layers, 6 default styles) Goto admin interface and remove one layer from layergroup. http:/127.0.0.1/geoserver/rest/layergroups/spearfish.json -> doesn’t work (5 layers, 5 default styles) Goto admin interface and uncheck one default style checkbox. http:/127.0.0.1/geoserver/rest/layergroups/spearfish.json -> works (5 layers, 4 default styles) Goto admin interface and delete unchecked layers. http:/127.0.0.1/geoserver/rest/layergroups/spearfish.json -> works (4 layers, 4 default styles) As you see, the bug only appears when using exact 5 layers with 5 default styles. |
Environment: |
Windows Server 2008, Apache Tomcat 7 (Service) |
Project: |
|
Priority: |
Major |
Reporter: |