[Geoserver-devel] [jira] Created: (GEOS-4849) GetCapibility document request with namespace filter do not filter Layer Groups

GetCapibility document request with namespace filter do not filter Layer Groups
-------------------------------------------------------------------------------

                 Key: GEOS-4849
                 URL: https://jira.codehaus.org/browse/GEOS-4849
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 2.1.2, 2.1.1, 2.1.0
            Reporter: Gael Lafond
            Assignee: Andrea Aime
            Priority: Minor

Both URLs should return the same document:
1. geoserver/topp/ows?service=wms&version=1.3.0&request=GetCapabilities
2. geoserver/ows?service=wms&namespace=topp&version=1.3.0&request=GetCapabilities
But it's not the case. The 1st will not include the layer groups and the 2nd one will. The layer groups should not be included since they are not member of any namespace.

For the purpose of my application, I need to get the list of layers for a namespace. I can't use the 1st solution since the namespace is pirvate. The second one works fine (by accessing a custom OWS service that does the same, receiving the user credentials in the request) but it also returns the layer groups.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira