kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

DeprecationWarning: The 'vocabulary' directive... #222

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When starting up the instance in fg, there are several DeprecationWarnings
about the 'vocabulary' directive. For example:

/Users/webdev/Documents/workspace/buildout-plone3/eggs/Products.PloneGetPaid-0.7
-py2.4.egg/Products/PloneGetPaid/vocabularies.zcml:7:
DeprecationWarning: The 'vocabulary' directive has been deprecated and will
be removed in Zope 3.5.  Use the 'utility' directive instead to register
the class as a named utility:
  <utility
      provides="zope.schema.interfaces.IVocabularyFactory"
      component="Products.PloneGetPaid.vocabularies.ContentTypes"
      name="plone.content_types"
      />
  <vocabulary

This *could* be a really simple fix of changing the element from
<vocabulary to <utility ?

It's also not breaking anything so it's really low priority.

Original issue reported on code.google.com by mcgruff....@gmail.com on 11 Oct 2008 at 8:49

GoogleCodeExporter commented 8 years ago

Original comment by lucielej...@gmail.com on 16 Oct 2008 at 1:51

GoogleCodeExporter commented 8 years ago
Already solved on trunk

Original comment by davide.m...@gmail.com on 31 Oct 2009 at 2:52