[Zope] 2.2.0 zclass weirdness

Roman Milner roman@speeder.org
20 Jun 2000 03:19:32 -0500


Well, I figure this out.  HomeDir_factory was getting its Use Factory
permission set to (disabled).  I think this was becuase
HomeDirContaine didn't automatically have "Add HomeDirs" in its list.
Is this a bug?

^Roman



>>>>> "RM" == Roman Milner <roman@speeder.org> writes:

    RM> I've created a ZClass call HomeDirContainer that inherits from
    RM> ObjectManager.  In that ZClass I created another ZClass called
    RM> HomeDir.  The idea being that HomeDirs can only exist in
    RM> HomeDirContainers.

    RM> So, I add an instance of HomeDirContainer, then go into it and
    RM> click "Add" - which is attempting to post to the current
    RM> object and pass it :method=HomeDir_factory.  And I get the
    RM> following error: