Code

Opened 6 years ago

Closed 6 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 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by trevor

comment:1 Changed 6 years ago by mtredinnick

  • Owner changed from nobody to mtredinnick

comment:2 Changed 6 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.