1 Apr
2006
1 Apr
'06
11:07 a.m.
I don't think makerequest is intended for wrapping anything but the root application object. Putting the RequestContainer on arbitrary objects doesn't feel right and certainly isn't how Zope does it, i.e. you get a test fixture that doesn't reflect "reality". NotABug/WontFix ;-) Stefan On 31. Mär 2006, at 19:31, Paul Winkler wrote:
2) re. the bug which I just posted at http://www.zope.org/Collectors/Zope/2057 the issue is that if you have something that inherits Traversable, and wrap it with makerequest(), its getPhysicalPath() method is broken, because getPhysicalPath() tries to call getPhysicalPath() on all non-None aq_parents, and an HTTPRequest isn't Traversable.
-- Anything that happens, happens. --Douglas Adams