The WMS GetCaps should have the default style names as clients refer to them.
Description
For our WMS GetCaps response we report the names of layers. But instead of reporting the names as they should be requested by GeoServer we return the 'name' element of style itself. This does speak to a bigger issue of bringing those in line, so that the name of the style is the same name GeoServer uses. But for now we should at least make the advertised name the same as the name one could request.
Environment
None
Activity
codehaus
April 10, 2015 at 4:12 PM
CodeHaus Comment From: cholmes - Time: Tue, 21 Sep 2004 17:49:47 -0500 ---------------------
<p>Fixed, with a bit of a hack - when we load the style we replace them with the geoserver name. This does not persist, nor should it really.</p>
For our WMS GetCaps response we report the names of layers. But instead of reporting the names as they should be requested by GeoServer we return the 'name' element of style itself. This does speak to a bigger issue of bringing those in line, so that the name of the style is the same name GeoServer uses. But for now we should at least make the advertised name the same as the name one could request.