Hi!

ZopeVocabularyRegistry allows to register vocabularies as utilities.

_clear() in zope.app.schema.vocabulary hooks it up, importing zope.app.schema touches zope.app.schema.vocabulary and triggers the '_clear' call.

Zope 2.10 did hook up ZopeVocabularyRegistry as a side effect of loading the deprecated vocabulary directive. http://svn.zope.org/?view=rev&rev=77097 removed the deprecated directive, breaking vocabulary registration.


What is the recommended way to hook up ZopeVocabularyRegistry? Importing zope.app.schema.vocabulary in Five's __init__.py?


Cheers,

        Yuppie

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to