Opened 16 years ago
Closed 16 years ago
#8351 closed (fixed)
load() method of the cache SessionStore backend returns None
Reported by: | Trevor Caira | Owned by: | Malcolm Tredinnick |
---|---|---|---|
Component: | contrib.sessions | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
As of [8440], the load()
method of the cache SessionStore
backend returns None instead of {}
if the session_data
is None.
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | return-empty-dict.diff added |
---|
comment:1 by , 16 years ago
Owner: | changed from | to
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [8410]) Fixed #8351 -- Fixed the returned value when we attempt to load a cache-backed session object that doesn't alreayd exist.