--- Zope-2.7.1-b1/lib/python/ZPublisher/BaseRequest.py +++ Zope-2.7.1-b1/lib/python/ZPublisher/BaseRequest.py 2004-06-01 20:49:10.000000000 +0200 @@ -298,13 +298,19 @@ "Object name begins with an underscore at: %s" % URL) else: return response.forbiddenError(entry_name) + skipGetAttr = False if hasattr(object,'__bobo_traverse__'): subobject=object.__bobo_traverse__(request,entry_name) - if type(subobject) is type(()) and len(subobject) > 1: + if subobject == None: + skipGetAttr = False + elif type(subobject) is type(()) and len(subobject) > 1: # Add additional parents into the path parents[-1:] = list(subobject[:-1]) object, subobject = subobject[-2:] - else: + skipGetAttr = True + else: + skipGetAttr = True + if not skipGetAttr: try: # Note - no_acquire_flag is necessary to support