Django

Code

Ticket #2405 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] django.contrib.auth.views.logout causes recursion error

Reported by: anonymous Assigned to: adrian
Milestone: Component: Contrib apps
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

This is related to #2368 because that patch now catches the KeyError? it is not passed to the view that was depending on it. So it looks like the view no longer needs the try catch.

The current state of Django is that when I try to logout I get recursive calls to logout.

[23/Jul/2006 13:40:11] "GET /accounts/logout/ HTTP/1.1" 302 0

[23/Jul/2006 13:40:11] "GET /accounts/logout/ HTTP/1.1" 302 0

[23/Jul/2006 13:40:11] "GET /accounts/logout/ HTTP/1.1" 302 0

[23/Jul/2006 13:40:11] "GET /accounts/logout/ HTTP/1.1" 302 0

[23/Jul/2006 13:40:11] "GET /accounts/logout/ HTTP/1.1" 302 0

Attachments

logout.diff (0.7 kB) - added by jay@skabber.com on 07/23/06 15:12:32.

Change History

07/23/06 15:12:32 changed by jay@skabber.com

  • attachment logout.diff added.

07/23/06 15:13:23 changed by jay@skabber.com

Oops, this was submited by me, not anonymous.

07/23/06 18:14:37 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [3431]) Fixed #2405 -- Fixed recursion error in auth.views.logout(), caused by [3402]. Thanks, Jay Skabber


Add/Change #2405 ([patch] django.contrib.auth.views.logout causes recursion error)




Change Properties
Action