On Thu, Jun 26, 2008 at 10:08 PM, Ross Patterson <[EMAIL PROTECTED]> 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

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to