Author: jmorliaguet Date: Fri Apr 21 20:56:39 2006 New Revision: 2934 Modified: CPSSkins4Five/trunk/configure.zcml Log:
- added missing adapter declarations. Not sure why Five did not take them into account Modified: CPSSkins4Five/trunk/configure.zcml ============================================================================== --- CPSSkins4Five/trunk/configure.zcml (original) +++ CPSSkins4Five/trunk/configure.zcml Fri Apr 21 20:56:39 2006 @@ -19,14 +19,23 @@ <five:traversable class="OFS.Folder.Folder" /> - <!-- <adapter for="persistent.interfaces.IPersistent" provides="zope.app.keyreference.interfaces.IKeyReference" factory="zope.app.keyreference.persistent.KeyReferenceToPersistent" trusted="y" - /> - --> + /> + + <class class="zope.app.keyreference.persistent.KeyReferenceToPersistent"> + <require permission="zope.Public" + interface="zope.app.keyreference.interfaces.IKeyReference" /> + </class> + + <adapter + for="persistent.interfaces.IPersistent" + provides="ZODB.interfaces.IConnection" + factory="zope.app.keyreference.persistent.connectionOfPersistent" + /> <!-- name choosers --> -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins