﻿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
2579	[patch] raw_id_admin with ManyToMany does not properly handle 'empty' raw_id_admin fields	brendan.mcadams@…	Adrian Holovaty	"Despite a definition of blank=True, null=True, I've observed fields in 0.95 with raw_id_admin which do not allow said field to be 'empty'.

The issue appears to be related to the fact that the empty is translated in code to ''; when the Relation manager attempts to search for these ids, it throws an exception.

The solution to this problem is to detect if it's raw_id_admin, and defined 'empty', and skip the 'add relations' call.

I have attached a patch which solves this problem.

"	defect	closed	Core (Other)	0.95	normal	fixed	raw_id_admin many_to_many		Unreviewed	1	0	0	0	0	0
