﻿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
14394	Assigning bad data to an m2m attribute should not clear existing data	Carl Meyer	nobody	"If you assign something nonsensical to a many-to-many attribute on a model instance, you'll get a `TypeError`; but not until after Django has cleared all the existing relationship data. Ideally Django would verify that you've passed in something reasonable before it clears the existing data.

(This issue was originally half of #14373).

Attached patch with test demonstrating the issue."	Bug	closed	Database layer (models, ORM)	dev	Normal	fixed		krzysiumed@…	Accepted	1	0	0	1	0	0
