[Geoserver-devel] [jira] (GEOS-5564) DescribeLayer returns global WFS instead of virtual WFS address

Fabrice Phung created BugGEOS-5564
DescribeLayer returns global WFS instead of virtual WFS address

Issue Type:

BugBug

Affects Versions:

2.2.3, 2.2.2, 2.2.1

Assignee:

Andrea Aime

Components:

WFS, WMS

Created:

15/Jan/13 10:54 AM

Description:

A DescribeLayer request on a virtual WMS (http://xxx/geoserver/vservice/wms) returns a DescribeLayerResponse with the global service url :

wfs=“http://xxx/geoserver/wfs/WfsDispatcher?
owsURL=“http://xxx/geoserver/wfs/WfsDispatcher?

With this address, GeoServer can’t find the layer and returns a 404 (if not ADMINISTRATOR)

DescribeLayer should respond with the virtual WFS address :

wfs=“http://xxx/geoserver/vservice/wfs?
owsURL=“http://xxx/geoserver/namespace/wfs?

Using this address, the WFS requests are correctly handled for a non-admin user.

Environment:

Debian Squeeze amd64
SUN JRE 1.6
tomcat6

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Fabrice Phung

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