"Martijn Pieters" <[EMAIL PROTECTED]> writes:

> On Thu, Jun 26, 2008 at 5:26 AM, Ross Patterson <[EMAIL PROTECTED]> wrote:
>> This seems wrong in that the object subclasses
>> Persistent but is being used in a way that doesn't allow it to be stored
>> in a ZODB.  Why do the FSObject classes subclass Persistent?
>
> I think because they are also used to create TTW skin objects; hit
> 'customize' on one such object in the skins directory and a copy is
> created that *is* persisted.

So wouldn't that mean that DirectoryView should not store instances of
FSObjects in a registry stored in global state and shared between ZODB
connections?

Ross

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to