DataStoreFileResource does not use workspace name to look up datastore on file 
upload
-------------------------------------------------------------------------------------

                 Key: GEOS-4265
                 URL: http://jira.codehaus.org/browse/GEOS-4265
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.1-beta2
            Reporter: Justin Deoliveira
            Assignee: Justin Deoliveira
             Fix For: 2.1-RC1


Reported by Jose Garcia with a patch included.

Also I did a small change in same file to store the shapefiles in folders like 
data/workspace/datastore instead of data/datastore that can be interesting to 
have by default in REST API:

line 107: 
            directory = catalog.getResourceLoader().find( "data/" + datastore 
); 
changed to 
            directory = catalog.getResourceLoader().find( "data/" + workspace + 
"/" + datastore ); 

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

        

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to