[Zope-CMF] CMF tests failing in zope 2.10

Florent Guillaume fg at nuxeo.com
Thu Jun 29 13:21:03 EDT 2006


Some CMF 1.6 and 2.0 (and I guess trunk) tests are failing in Zope 2.10 
due to missing adapters somewhere. Example, when it tries to evaluate 
the path 'info/id' (where info is a dict):

Error in test test_generateWorkflowXML_multiple 
(Products.DCWorkflow.tests.test_exportimport.WorkflowDefinitionConfiguratorTests)
Traceback (most recent call last):
...
   File 
"/Users/fg/zope/zope2-zope/lib/python/Products/PageTemplates/Expressions.py", 
line 121, in _eval
     ob = self._subexprs[-1](econtext)
   File 
"/Users/fg/zope/zope2-zope/lib/python/zope/tales/expressions.py", line 
124, in _eval
     ob = self._traverser(ob, element, econtext)
   File 
"/Users/fg/zope/zope2-zope/lib/python/Products/PageTemplates/Expressions.py", 
line 73, in boboAwareZopeTraverse
     request=request)
   File 
"/Users/fg/zope/zope2-zope/lib/python/zope/traversing/adapters.py", line 
161, in traversePathElement
     raise TraversalError('No traversable adapter found', obj)
TraversalError: ('No traversable adapter found', {'state_variable': 
'state', 'state_info': [...], ...})

Does anyone have an idea which adapters are missing, and where to add 
them in the tests?

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope-CMF mailing list