[Geoserver-devel] [jira] Created: (GEOS-980) Geoserver does not recognize layers without namespace specification in getMap requests

Geoserver does not recognize layers without namespace specification in getMap requests
--------------------------------------------------------------------------------------

                 Key: GEOS-980
                 URL: http://jira.codehaus.org/browse/GEOS-980
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration, WMS
    Affects Versions: 1.5.0-RC2
            Reporter: Andrea Aime
         Assigned To: Andrea Aime
            Priority: Critical
             Fix For: 1.5.0-RC3

The following request works:
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&styles=population&Format=image/png&request=GetMap&layers=topp:states&width=550&height=250&srs=EPSG:4326

This one does not (state is not prefixed by namespace anymore):
http://localhost:8080/geoserver/wms?bbox=-130,24,-66,50&styles=population&Format=image/png&request=GetMap&layers=states&width=550&height=250&srs=EPSG:4326

It used to work just fine, if no namespace is specified, fallback on the default one. Unfortunately this has been broken by a performance optimization introduced by Alessio between rc1 and rc2 to avoid linear scans during getmap request parsing.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira