Florent Guillaume writes:
> Anyway I'd propose the following: we need, in constructInstance, to
> somehow pass the portal_type to the object constructor. Unfortunately
> this has to be backwards-compatible with all the constructors out there
> that don't know about it. I see two possible ugly
Hmmm, probably I should have used the term "factory" instead of
"constructor" in that last mail...
Florent
Florent Guillaume <[EMAIL PROTECTED]> wrote:
> [sent to zope-dev]
>
> This problem is due to a deep bug in the current implementation of the
> Types Tool: a created object has no way to k
[sent to zope-dev]
This problem is due to a deep bug in the current implementation of the
Types Tool: a created object has no way to know its portal_type during
construction (the constructor doesn't have this information, thus nor
__init__ nor the hooks like manage_afterAdd can have it).
I thoug