[Geoserver-devel] [jira] Created: (GEOS-3009) StoreInfo workspace change fails to persist

StoreInfo workspace change fails to persist
-------------------------------------------

                 Key: GEOS-3009
                 URL: http://jira.codehaus.org/browse/GEOS-3009
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration
            Reporter: Gabriel Roldán
            Assignee: Justin Deoliveira
             Fix For: 2.0-beta1

Say you have a StoreInfo in one workspace (eg, mosaic in nurc) and you want to change its workspace (eg, set it to the sf workspace), Catalog.save(store) throws the following exception, meaning it does not recognize the workspace change:

{code}
java.io.FileNotFoundException: /Users/groldan/tmp/test_config/workspaces/sf/mosaic/datastore.xml (No such file or directory)
  at java.io.FileOutputStream.open(Native Method)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
  at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
  at org.geoserver.config.GeoServerPersister.persist(GeoServerPersister.java:569)
  at org.geoserver.config.GeoServerPersister.modifyDataStore(GeoServerPersister.java:330)
  at org.geoserver.config.GeoServerPersister.handlePostModifyEvent(GeoServerPersister.java:135)
{code}

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