Merge lp:~james-w/python-timeline-django/start-end-request into lp:python-timeline-django
Proposed by
James Westby
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Nelson | ||||
Approved revision: | 21 | ||||
Merged at revision: | 20 | ||||
Proposed branch: | lp:~james-w/python-timeline-django/start-end-request | ||||
Merge into: | lp:python-timeline-django | ||||
Diff against target: |
41 lines (+20/-1) 2 files modified
timeline_django/tests/test_wsgi.py (+19/-0) timeline_django/wsgi.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~james-w/python-timeline-django/start-end-request | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | Approve | ||
Review via email: mp+183552@code.launchpad.net |
Commit message
Save the environ before sending the wsgi_request_
Code that listens to the wsgi_request_
environ, but instead of using the one passed to the signal, it may
call get_environ() to get the saved version. That has to be the
current request's environ, not any previous request, so save the environ
before triggering the signal.
Description of the change
Hi,
This fixes the oopses we are currently seeing on sso. They are caused
because a stale timeline from the previous request is sometimes being used.
The commit message has a fuller explanation of the problem and the fix.
Thanks,
James
To post a comment you must log in.
LGTM - it's not clear to me how this results in the OverlappingActi onError - but makes sense (and I trust you :-) ).