Is there a possibility to cut&paste from one mounted storage to another?
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:
File "/opt/Zope-2.8.1/lib/python/ZODB/Connection.py", line 503, in _commit
File "/opt/Zope-2.8.1/lib/python/ZODB/Connection.py", line 525, in _store_objects
p = writer.serialize(obj) # This calls __getstate__ of obj
File "/opt/Zope-2.8.1/lib/python/ZODB/serialize.py", line 330, in serialize
return self._dump(meta, obj.__getstate__())
File "/opt/Zope-2.8.1/lib/python/ZODB/serialize.py", line 339, in _dump
File "/opt/Zope-2.8.1/lib/python/ZODB/serialize.py", line 281, in persistent_id
InvalidObjectReference: Attempt to store an object from a foreign database connection
Am I doing something wrong or is this simply not possibly resp. is there a workaround to do a cut&paste between storage boundaries?
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )