﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28066	SessionBase.cycle_key() discards session data if _session_cache isn't populated	InvalidInterrupt	InvalidInterrupt	The `cycle_key()` method will use an empty `dict` for session data if it had not previously been loaded. The docstring says the function is there specifically to avoid losing sesison data, and the behavior feels inconsistent. This won't be noticed on most sites, as the `AuthenticationMiddleware` accesses the session on every request. However, it did cause problems for me in unittests for some views.	Bug	closed	contrib.sessions	1.11	Normal	fixed			Accepted	1	0	0	0	0	0
