ValueError: unknown meta_type 'Dexterity FTI' only in Plone 4 tests

I'm currently working on the test setup for the new botemplates.plone version, I have a problem there with the Dexterity
test setup under Plone 4. Somehow something wents wrong there. For Plone 5 and 5.1 everything works fine.
Has anybody an idea what is missing?

  File "/home/maik/develop/plone/.buildout/eggs/Products.GenericSetup-1.8.6-py2.7.egg/Products/GenericSetup/utils.py", line 512, in _importBody
    self._importNode(dom.documentElement)
  File "/home/maik/develop/plone/.buildout/eggs/Products.CMFCore-2.2.9-py2.7.egg/Products/CMFCore/exportimport/typeinfo.py", line 210, in _importNode
    self._initObjects(node)
  File "/home/maik/develop/plone/.buildout/eggs/Products.GenericSetup-1.8.6-py2.7.egg/Products/GenericSetup/utils.py", line 574, in _initObjects
    raise ValueError("unknown meta_type '%s'" % meta_type)
   - __traceback_info__: ('todo_task', 'Dexterity FTI')
ValueError: unknown meta_type 'Dexterity FTI'

sounds like Dexterity is not installed; you may skip that test under Plone 4 or try a build that installs plone.app.contenttypes.

see, for instance:

plone.app.dexterity is a requirement of the generated package.
The fixture is PLONE_FIXTURE for Plone 4 not PLONE_APP_CONTENTTYPES_FIXTURE as in Plone 5.

Dexterity may be a requirement, but as long as you don't install it you'll get the error stated above.

follow our example: you need that in Plone 4 also.

thx @hvelarde it was indeed the missing plone.app.dexterity, due to an error in the bobtemplate.
Now it's working.

1 Like

Plone Foundation Code of Conduct