[Geoserver-devel] [jira] Created: (GEOS-4037) Further extension needed to delete layer with REST configuration

Further extension needed to delete layer with REST configuration
----------------------------------------------------------------

                 Key: GEOS-4037
                 URL: http://jira.codehaus.org/browse/GEOS-4037
             Project: GeoServer
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.0.2
         Environment: Ubuntu Lucid.
            Reporter: Piero Campalani
            Assignee: Andrea Aime
            Priority: Minor

I have some *.geo.tif rasters in my Geosever.
As I try to delete one of them via REST, for example "myMap.geo.tif":

# curl -u "$USER:$PASSWORD" -XDELETE "http://localhost:8080/geoserver/rest/layers/myMap.geo.tif"

the layer is not found because "myMap.geo" is searched, instead of "myMap.geo.tif".

Editing my requests in this way, things work:

# curl -u "$USER:$PASSWORD" -XDELETE "http://localhost:8080/geoserver/rest/layers/myMap.geo.tif.BUG"

--
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