﻿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
3220	List_display_links validation error is not being caught correctly	Robert Myers <myer0052@…>	Adrian Holovaty	"In djaongo.core.management the list_display_links validation checks to see if list_display is used. But the check is either not working or does not stop the validation of the admin option.

Testing included in #3217

Example:
{{{
class ListDisplayLinksBadThree(models.Model):
    ""Test list_display_links, must define list_display to use list_display_links.""
    first_name = models.CharField(maxlength=30)
    last_name = models.CharField(maxlength=30)
    
    class Admin:
        list_display_links = ('first_name',)
}}}

Expecting error:
{{{
""admin.list_display"" must be defined for ""admin.list_display_links"" to be used.
}}}

That error is being ignored and the resulting error is displayed:
{{{
""admin.list_display_links"" refers to 'first_name', which is not defined in ""admin.list_display"".
}}}"	defect	closed	Core (Other)		minor	invalid		myer0052@…	Unreviewed	0	0	0	0	0	0
