[CMF-checkins] CVS: CMF/CMFCore - DynamicType.py:1.18
Yvo Schubbe
schubbe@web.de
Mon, 30 Jun 2003 09:45:52 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv27611/CMFCore
Modified Files:
DynamicType.py
Log Message:
disabled __before_publishing_traverse__ code for WebDAV/FTP methods
=== CMF/CMFCore/DynamicType.py 1.17 => 1.18 ===
--- CMF/CMFCore/DynamicType.py:1.17 Sat Jun 28 12:31:20 2003
+++ CMF/CMFCore/DynamicType.py Mon Jun 30 09:45:52 2003
@@ -98,7 +98,10 @@
"""
# XXX hack around a bug(?) in BeforeTraverse.MultiHook
REQUEST = arg2 or arg1
-
+
+ if REQUEST['REQUEST_METHOD'] not in ('GET', 'POST'):
+ return
+
stack = REQUEST['TraversalRequestNameStack']
key = stack and stack[-1] or '(Default)'
ti = self.getTypeInfo()