Opened 7 years ago

Closed 7 years ago

#8351 closed (fixed)

load() method of the cache SessionStore backend returns None

Reported by: trevor Owned by: mtredinnick
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 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by trevor

comment:1 Changed 7 years ago by mtredinnick

  • Owner changed from nobody to mtredinnick

comment:2 Changed 7 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(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