[Zope] __bobo_traverse__ or similiar with python tales expression?

2015-07-11 Thread Sebastian Tänzer
Hello fellow Zopees,

the product we’re using (ZMS) allows methods as attributes to custom object 
models. These methodes (PythonScript) are created inside a metamanager 
container as „Wiki.mymethod“, where Wiki is the meta type of the custom object.

The pathhandler method of these custom objects modifies __bobo_traversal__ for 
normal http requests and maps these non-existing methods in that context to 
existing methods in the metaobj_manager container using the context meta_id.

Calling the same method from a PageTemplate or other PythonScript does not 
reflect that and - not surprisingly - returns an AttributeError:

File 
/opt/python/zope2-pip/lib/python2.7/site-packages/Products/PageTemplates/ZRPythonExpr.py,
 line 
48, in __call__
return eval(self._code, vars, {})
  File PythonExpr, line 1, in expression
AttributeError: dummyFunction

Is there a way to modify traversal behaviour from the Product or somehow 
different?

Best
Sebastian
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-CMF] cmf-tests -

2015-07-11 Thread CMF tests summarizer
This is the summary for test reports received on the 
cmf-tests list between 2015-07-10 00:00:00 UTC and 2015-07-11 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received



Non-OK results
--

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests