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)

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

Download all attachments as: .zip

Change History (3)

by Trevor Caira, 16 years ago

Attachment: return-empty-dict.diff added

comment:1 by Malcolm Tredinnick, 16 years ago

Owner: changed from nobody to Malcolm Tredinnick

comment:2 by Malcolm Tredinnick, 16 years ago

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