Hi!<br>
<br>
Is there a possibility to cut&paste from one mounted storage to another?<br>
I have a filestorage Data.fs mounted as / and another filestorage
Archive.fs mounted at /site/Archive. When I try to cut&paste an
object from e.g. /site/foo/bar to /site/Archive/bar I get an
InvalidObjectReference Exception:<br>
<br>
File "/opt/Zope-2.8.1/lib/python/ZODB/Connection.py", line 503, in _commit<br>
self._store_objects(ObjectWriter(obj), transaction)<br>
File "/opt/Zope-2.8.1/lib/python/ZODB/Connection.py", line 525, in _store_objects<br>
p = writer.serialize(obj) # This calls __getstate__ of obj<br>
File "/opt/Zope-2.8.1/lib/python/ZODB/serialize.py", line 330, in serialize<br>
return self._dump(meta, obj.__getstate__())<br>
File "/opt/Zope-2.8.1/lib/python/ZODB/serialize.py", line 339, in _dump<br>
self._p.dump(state)<br>
File "/opt/Zope-2.8.1/lib/python/ZODB/serialize.py", line 281, in persistent_id<br>
raise InvalidObjectReference(<br>
<br>
InvalidObjectReference: Attempt to store an object from a foreign database connection<br>
<br>
Am I doing something wrong or is this simply not possibly resp. is
there a workaround to do a cut&paste between storage boundaries?<br>
<br>
Thanks.<br>
<br>
-- mkrainer<br>