Commit 90cee462 authored by Wichert Akkerman's avatar Wichert Akkerman

Acquisition is an even harsher mistress now that we have __parent__

parent 2e98a84c
......@@ -211,6 +211,8 @@ class ZPublisherExceptionHook:
if view is not None:
if IAcquirer.providedBy(view) and IAcquirer.providedBy(published):
view = view.__of__(published)
else:
view.__parent__ = published
v = view()
response = REQUEST.RESPONSE
response.setStatus(t)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment