[Django] #28167: cache backend's SessionStore.exists() returns None if session_key is None

8 views
Skip to first unread message

Django

unread,
May 3, 2017, 10:08:50 AM5/3/17
to django-...@googlegroups.com
#28167: cache backend's SessionStore.exists() returns None if session_key is None
--------------------------------------------+----------------------------
Reporter: Tim Graham | Owner: Tim Graham
Type: Bug | Status: assigned
Component: contrib.sessions | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------------+----------------------------
`exists()` should always return True or False.

--
Ticket URL: <https://code.djangoproject.com/ticket/28167>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 3, 2017, 10:11:59 AM5/3/17
to django-...@googlegroups.com
#28167: cache backend's SessionStore.exists() returns None if session_key is None
----------------------------------+--------------------------------------

Reporter: Tim Graham | Owner: Tim Graham
Type: Bug | Status: assigned
Component: contrib.sessions | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by Tim Graham):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/8457 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/28167#comment:1>

Django

unread,
May 3, 2017, 12:57:38 PM5/3/17
to django-...@googlegroups.com
#28167: cache backend's SessionStore.exists() returns None if session_key is None
----------------------------------+--------------------------------------

Reporter: Tim Graham | Owner: Tim Graham
Type: Bug | Status: closed
Component: contrib.sessions | Version: 1.11
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"578e576c31fcd5757c3f4fc2dea7673b3462f575" 578e576]:
{{{
#!CommitTicketReference repository=""
revision="578e576c31fcd5757c3f4fc2dea7673b3462f575"
Fixed #28167 -- Fixed cache backend's SessionStore.exists() if session_key
is None.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28167#comment:2>

Reply all
Reply to author
Forward
0 new messages