[Geoserver-devel] [jira] (GEOS-5140) Styles cannot be found if they are in a workspace

Zach Toups created BugGEOS-5140
Styles cannot be found if they are in a workspace

Issue Type:

BugBug

Affects Versions:

2.2-beta2

Assignee:

Andrea Aime

Components:

WMS

Created:

31/May/12 2:35 PM

Description:

When styles are made a part of a workspace, they can no longer be used. This results in GeoServer returning NULL for all WMS requests to that layer. In the layer view, the style will show up as a broken link image (although, curiously, GetLegendGraphic will return appropriately).

Example test using sf:archsites (which uses point as the default style):
1.) Open layer editor for sf:archsites; click Publishing tab; see that the default style shows a small, filled, red circle.
2.) Open style editor for point style; set workspace to sf.
3.) Return to layer editor for sf:archsites; click Publishing tab; see that the default style is now a broken image (even though it is still set to point, and point still appears in the list).

Environment:

n/a

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Zach Toups

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)