[Zope-CMF] Re: five.intid and DirectoryView

Ross Patterson me at rpatterson.net
Thu Jun 26 13:15:47 EDT 2008


"Martijn Pieters" <mj at zopatista.com> writes:

> On Thu, Jun 26, 2008 at 5:26 AM, Ross Patterson <me at rpatterson.net> 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



More information about the Zope-CMF mailing list