Issue Type: Bug Bug
Affects Versions: 2.2-RC1
Assignee: Gabriel Roldán
Components: WMS
Created: 26/Jul/12 11:04 AM
Description:

Having LayerGroups: global, sde:local, cite:local
and LayerInfos: tiger:poi, cite:poi

  • A GetMap request to the cite local workspace WMS, asking for the tiger:poi layer, an image of the cite:poi layer is returned. (e.g. /geoserver/cite/wms?LAYERS=tiger:poi&... should fail, but instead it matches cite:poi ).
  • A GetMap request to the cite local workspace WMS, asking for the sde:local layer group, an image of the cite:local layer group is returned. (e.g. /geoserver/cite/wms?LAYERS=sde:local&... should fail, but instead it matches cite:local ).
  • A GetMap request to a local workspace WMS asking for a "global" layer group (i.e. a layer group with no WorkspaceInfo) should succeed (e.g. /geoserver/cite/wms?LAYERS=global&...), but instead a ServiceException stating "Could not find layer cite:global" is returned.

The bug seems to be due to WMSWorkspaceQualifier being lose about qualifying already qualified layer names and not matching layer group names correctly.

Patch and test cases to come.

Project: GeoServer
Priority: Major Major
Reporter: Gabriel Roldán
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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to