Opened 8 years ago

Closed 8 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: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

As of [8440], the load() method of the cache SessionStore backend returns None instead of {} if the session_data is None.

Attachments (1)

return-empty-dict.diff (417 bytes) - added by Trevor Caira 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Trevor Caira

Attachment: return-empty-dict.diff added

comment:1 Changed 8 years ago by Malcolm Tredinnick

Owner: changed from nobody to Malcolm Tredinnick

comment:2 Changed 8 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [8410]) Fixed #8351 -- Fixed the returned value when we attempt to load a cache-backed session object that doesn't alreayd exist.

Note: See TracTickets for help on using tickets.
Back to Top