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   [EMAIL PROTECTED]
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to