REST API does not differ between global styles and workspace styles

Description

I am not sure, if this is a bug or behaviour per definition.

If I have two styles "test". One is a global style and one a standard workspace style. Then the request for the global style delivers always the workspace one. At least

http://localhost:8080/geoserver/rest/styles/test.xml

includes a workspace definition. The same occures within the style gui of geoserver. The global has a workspace.

As I said, that does only occur if the workspace is standard. If it isnt, Geoserver distinghuishes both styles correctly.

Environment

None

Status

Assignee

Torben Barsballe

Reporter

Tobias Warneke

Triage

Fix versions

Affects versions

Components

Priority

Medium
Configure