[Geoserver-devel] [jira] Created: (GEOS-4185) rest upload coverage uses inconsistent directories

rest upload coverage uses inconsistent directories
--------------------------------------------------

                 Key: GEOS-4185
                 URL: http://jira.codehaus.org/browse/GEOS-4185
             Project: GeoServer
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.0.2
         Environment: Ubuntu 10.04 64-bit, curl/7.19.7
            Reporter: Niels Hoffmann
            Assignee: Andrea Aime

when trying to upload a coverage via rest the coveragestore.xml has a wrong reference to the geotiff.
curl -u admin:geoserver -v -XPUT -H 'Content-type: text/plain' -d 'file:/tmp/sample.tiff' http://localhost:8080/geoserver/rest/workspaces/N52/coveragestores/sample/url.geotiff?configure=first&coverageName=sample

The coveragestore.xml points to file:data/sample/sample.tiff but the actual geotiff is in data/sample.tiff

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