[Zope] direct traversal and pluggable brains...
Sascha Matzke
Sascha Matzke <matzke@metabox.de>
Mon, 13 Sep 1999 10:42:40 +0200
Hello,
I have a simple sqlmethod mixin class for testing purposes...
class SimpleMixin:
def something(self):
return someother + "_this_is_someting_"
If I disable direct traversal, everthing works fine (<dtml-var
something>) is displayed. But when I enable direct traversal I get an
KeyError
Traceback (innermost last):
File /home/sascha/Develop/Metabox/Zope-2.0.0-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module
File /home/sascha/Develop/Metabox/Zope-2.0.0-src/lib/python/ZPublisher/Publish.py, line 179, in publish
File /home/sascha/Develop/Metabox/Zope-2.0.0-src/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook
(Object: artikel)
File /home/sascha/Develop/Metabox/Zope-2.0.0-src/lib/python/ZPublisher/Publish.py, line 165, in publish
File /home/sascha/Develop/Metabox/Zope-2.0.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: 172-32-1176)
File /home/sascha/Develop/Metabox/Zope-2.0.0-src/lib/python/ZPublisher/Publish.py, line 102, in call_object
(Object: 172-32-1176)
File /home/sascha/Develop/Metabox/Zope-2.0.0-src/lib/python/OFS/DTMLDocument.py, line 166, in __call__
(Object: 172-32-1176)
File /home/sascha/Develop/Metabox/Zope-2.0.0-src/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
(Object: 172-32-1176)
KeyError: something
Any hints ??
Sascha
--
.-> Sascha Matzke - sascha@bespin.de - http://www.bespin.de -.
| Wenn die Nacht am tiefsten ist, ist der Tag am naechsten |
| Ton Steine Scherben |
`-- On this earth for 23 years, 334 days <----------------'