The __setattr__ magic on DirectoryView surrogate is creating a great deal of issues with five.intid(which uses a zope2 implementation of keyreferences).

Main issue here is that the setting of _p_oid, _p_jar and important other persistent vars gets all kinds of screwed up at the time that the object created events get fired. intid uses object created events to register objects. keyreferences need to know the objects oid, and therefore attempts to add the object to the connection and get said info.


I'm seeing this trying to add a Plone 2.1 site(CMF 1.5).

-w

_______________________________________________
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