[Geoserver-devel] [jira] (GEOS-5476) Removing prefix from layername in local workspace not optional

Jasper de Barbanson created BugGEOS-5476
Removing prefix from layername in local workspace not optional

Issue Type:

BugBug

Affects Versions:

2.2

Assignee:

Andrea Aime

Components:

WFS, WMS

Created:

26/Nov/12 3:55 AM

Description:

Release 2.2 of Geoserver contained a new feature to remove the prefix from the layername if the layer was within a local workspace.

I have two problems with this change:

  • This feature is enabled automatically when using local workspaces. This should be configurable. We have multiple use-cases were users have stored WMS layer configuration via ArcGis products (in a .lyr name), en this is validated against the Capabalities file. The .lyr file contains the layername with the prefix, the capabilities file contains a layername without prefix. This will not match, and therefore the .lyr file is invalid. Changes like this should be backwards-compatible to prevent issues like this!
  • This is only implemented for WMS, not for WFS. Users who use the layername of the WMS to automatically execute WFS requests cannot do this anymore, because the layernames are different. This change should have been implemented for all types of services, not just WMS.

Is it possible to have this fixed?

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jasper de Barbanson

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)