[Geoserver-devel] [jira] (GEOS-5498) Workspace-specific styles are not rendered when using global endpoint and STYLES keyword

Landry Breuil created BugGEOS-5498
Workspace-specific styles are not rendered when using global endpoint and STYLES keyword

Issue Type:

BugBug

Affects Versions:

2.2.2

Assignee:

Andrea Aime

Components:

WMS

Created:

12/Dec/12 6:47 AM

Description:

Maybe a followup of issue 5103, since with 2.2.2 i’ve hit a similar issue. I have a workspace-specific style (PNR_GSA_style in public). The wms fails to render if using the global endpoint and ‘STYLES’ is used in the url. specific endpoint with STYLES or STYLE works, global endpoint and STYLE works.

global endpoint, STYLES:
http://ids-dev.craig.fr/wxs/wms?LAYERS=public%3APNR_GSA&styles=PNR_GSA_style&TRANSPARENT=true&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=519164.72248747,5543476.257592,675707.75638747,5700019.291492&WIDTH=512&HEIGHT=512
-> that one gives the exception: no such style ‘PNR_GSA_style’

global endpoint, STYLE: (works)
http://ids-dev.craig.fr/wxs/wms?LAYERS=public%3APNR_GSA&STYLE=PNR_GSA_style&TRANSPARENT=true&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=519164.72248747,5543476.257592,675707.75638747,5700019.291492&WIDTH=512&HEIGHT=512

specific endpoint, STYLE: (works)
http://ids-dev.craig.fr/wxs/public/wms?LAYERS=public%3APNR_GSA&STYLE=PNR_GSA_style&TRANSPARENT=true&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=519164.72248747,5543476.257592,675707.75638747,5700019.291492&WIDTH=512&HEIGHT=512

specific endpoint, STYLES: (works)
http://ids-dev.craig.fr/wxs/public/wms?LAYERS=public%3APNR_GSA&STYLES=PNR_GSA_style&TRANSPARENT=true&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=519164.72248747,5543476.257592,675707.75638747,5700019.291492&WIDTH=512&HEIGHT=512

I’ve faced that issue with the styler from opengeo suite, since by default it uses the global endpoint and STYLES.

The PNR_GSA_style is not listed either via REST, be it on rest/styles/ or rest/workspaces/public/rest/.

The ACLs for that workspace are

..r=*
public..r=
public.*.a=ROLE_AUTHENTICATED

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Landry Breuil

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)