Mercurial > p > roundup > code
diff CHANGES.txt @ 5121:894aa07be6cb
issue2550785: Using login from search (or logout) fails. when
logging in from a search page or after a logout it fails with an
error.
The fix also keeps the user on the same page they started
from (e.g. search results) before the login. There are two
parts to this:
1) changes to the templates to properly define the __came_from form element.
2) code changes to the LoginAction code in roundup/cgi/actions.py.
New test code added. Needed some additional functions from urllib so
urllib_.py got a change.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 03 Jul 2016 12:32:35 -0400 |
| parents | 722394a48d7b |
| children | a927f9549af0 |
line wrap: on
line diff
--- a/CHANGES.txt Sun Jul 03 12:23:36 2016 -0400 +++ b/CHANGES.txt Sun Jul 03 12:32:35 2016 -0400 @@ -239,6 +239,13 @@ Diagnosis and fix with patch by R David Murray. Support for restoring retired but active queries, html layout changes and doc by John Rouillard. +- issue2550785: Using login from search (or logout) fails. when + logging in from a search page or after a logout it fails with an + error. These failures have been fixed. The fix also keeps the user + on the same page they started from before the login. There are two + parts to this: 1) changes to the templates to properly define the + __came_from form element. See ``upgrading.txt``. 2) code changes + to the LoginAction code in roundup/cgi/actions.py. (John Rouillard) 2016-01-11: 1.5.1
