﻿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
25267	Misleading error message for field in list_editable and not in list_display	michalwerner	nobody	"Assume we have model with example filed {{{something}}}.
Now, creating admin page, if we place {{{something}}} in {{{list_editable}}}, but NOT in `list_display` we have error like this:


{{{
SystemCheckError: System check identified some issues:

ERRORS:
<class 'someapp.admin.SomeModel'>: (admin.E122) The value of 'list_editable[0]' refers to 'something', which is not an attribute of 'someapp.SomeModel'.
}}}

Error message suggests that field {{{something}}} does not exist in model, but in fact it DOES exist in model and DOES NOT exist in admin's {{{list_display}}}, so the explanation is not true and leads to confusion.
"	Bug	closed	contrib.admin	1.8	Normal	fixed	admin, error message		Ready for checkin	1	0	0	0	1	0
