[BlueBream] end request event overriding setSite

Jim Pharis binbrain at gmail.com
Thu Jul 8 14:34:06 EDT 2010


I think my problem is that I didn't have the site object available for
traversal to pick up (or set as default), thus it was sending None to
setSite.

On Thu, Jul 8, 2010 at 1:25 PM, Jim Pharis <binbrain at gmail.com> wrote:

> endRequest in zope.app.publication.zopepublication triggers an
> EndRequestEvent. clearThreadSiteSubscriber in zope.site.site subscribes to
> EndRequestEvent and then calls setSite with None. Thus, after every request
> my setSite is overridden.
>
> - Jim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/bluebream/attachments/20100708/94a95a85/attachment.html 


More information about the bluebream mailing list