Issue Type: Bug Bug
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: Major Major
Reporter: Landry Breuil
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to