﻿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
34561	"""DatabaseError: Forced update did not affect any rows"" on SessionStore save()"	Daniel Nunes	nobody	"After a user login while working with [https://github.com/mozilla/mozilla-django-oidc mozilla-django-oidc], I came across this ""DatabaseError: Forced update did not affect any rows"" error on [https://github.com/mozilla/mozilla-django-oidc/blob/71e4af8283a10aa51234de705d34cd298e927f97/mozilla_django_oidc/views.py#L112 request.session.save()].
This looks to me like a race condition where the session doesn't exist but [https://github.com/django/django/blob/e1bbbbe6acb69e755554088bc573cc1835673209/django/contrib/sessions/backends/db.py#L87 we still try to update it]."	Bug	closed	contrib.sessions	3.2	Normal	invalid	session, session error, session save		Unreviewed	0	0	0	0	0	0
