Django

Code

Ticket #8351 (closed: fixed)

Opened 4 months ago

Last modified 4 months ago

load() method of the cache SessionStore backend returns None

Reported by: trevor Assigned to: mtredinnick
Milestone: Component: django.contrib.sessions
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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

Attachments

return-empty-dict.diff (417 bytes) - added by trevor on 08/15/08 14:06:16.

Change History

08/15/08 14:06:16 changed by trevor

  • attachment return-empty-dict.diff added.

08/16/08 10:13:46 changed by mtredinnick

  • owner changed from nobody to mtredinnick.

08/16/08 10:54:37 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #8351 (load() method of the cache SessionStore backend returns None)




Change Properties
Action