[Geoserver-devel] [jira] Created: (GEOS-3915) While uploading a shapefile via REST, GeoServer does not consider workspaces/namespaces.

While uploading a shapefile via REST, GeoServer does not consider workspaces/namespaces.
----------------------------------------------------------------------------------------

                 Key: GEOS-3915
                 URL: http://jira.codehaus.org/browse/GEOS-3915
             Project: GeoServer
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.0.x
            Reporter: Machiel de Swijger-Asakura
            Assignee: Andrea Aime

While uploading a shapefile via REST, GeoServer does not consider workspaces/namespaces.

Create 2 workspaces and namespaces. Upload a shapefile via the GeoServer UI in a workspace. Then upload the same shapefile via REST in the other workspace. You will see that the shapefile uploaded via GS UI, will be modified. (The path to the shapefile is changed in my case). There will be NO shapefile, that is uploaded via REST, in the workspace.

This is the response i got from Justin:

{quote}
Yeah, this is a bug/limitation. Currently the code that handles the
shapefile upload just dumps the data into the same place regardless of
workspace/namespace. So at the moment the only way to have this work is
to name the shapefiles differently.
{quote}

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