[Product-Developers] Re: five.intid and DirectoryView
Martijn Pieters
mj at zopatista.com
Fri Jun 27 10:02:11 UTC 2008
On Thu, Jun 26, 2008 at 10:08 PM, Ross Patterson <me at rpatterson.net> wrote:
> But since the FSObjects provide IPersistent, they can be added to a
> connection. If they're added to a connection, the object can be ghosted
> when that connection is closed. If another thread subsequently consults
> the DirectoryView registry for the same object, the persistnce machinery
> will raise ConnectionStateError when it tries to de-ghost the object
> from the closed connection.
But the code never does that. When cloning a file-based FSObject, a
new instance is created and that is added to the ZODB. Noone else
should do this either.
--
Martijn Pieters
More information about the Product-Developers
mailing list