On 4/9/07, Pablo Caro Revuelta <[EMAIL PROTECTED]> wrote:
I need that LinguaPlone use portal_factory.
I have seen that task in LinguaPlone TODO list. Does anybody know if that
feature is beeing implemented?
I will try do it myself but, before it, I wonder the reason beacause of that
work (very important in my opinion) is not done yet. Is very dificult or
there are special problems I must be concerned of?
I tested is not as easy as change the ''invokeFactory'' in I18NBaseObject.py
by a traverse to portal_factory.
The current mixin objects will disappear completely as LinguaPlone
switches to Zope 3 tech, with event handlers and adapters instead.
Ramon Navarro Bosch is slated to work on this this summer as a Google
Summer of Code project, provided his project makes the cut later
today. I'm his mentor, and I've added your concerns to the project
TODO list.
Note that it won't be easy to implement PortalFactory use in
addTranslation though, as the PortalFactory re-creates the object on
the first save, loosing all context (references and such) that
addTranslation adds to the newly created object. Some of what
addTranslation does can be covered by events, but not everything.
--
Martijn Pieters
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers