node traverser: store only loops-specific view as target view in request annotations
This commit is contained in:
parent
ea1fbc9136
commit
f193e00dcb
1 changed files with 1 additions and 1 deletions
|
@ -933,7 +933,7 @@ class NodeTraverser(ItemTraverser):
|
|||
langInfo = LanguageInfo(self.context, request)
|
||||
adTarget = adapted(target, langInfo)
|
||||
view = component.queryMultiAdapter((adTarget, request), name=name)
|
||||
if view is not None:
|
||||
if isinstance(view, BaseView):
|
||||
viewAnnotations['targetView'] = view
|
||||
view.logInfo('NodeTraverser:targetView = %r' % view)
|
||||
return self.context
|
||||
|
|
Loading…
Add table
Reference in a new issue