﻿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
30980	admin.E130 (duplicate __name__ attributes of actions) should specify which were duplicated.	Keryn Knight	AdamDonna	"The fact that the `__name__` is used is somewhat an implementation detail, and there's no guarantee the user has enough of an understanding of python to know what that attribute is, let alone how to fix it.

This just came up on IRC because a user had defined `actions = [delete_selected]` where `delete_selected` was a reference to their own callable, but shares the name of the base one (and by specifying the `actions = ` they were assuming that they were wholesale replacing the actions list, where that may not be true for site-wide actions) so errored ... but they only had define a list of `len(...) == 1` so how can there be a duplicate (is their thought process)?

The error message should specify those names that occur 2> (rather than just check `len(...)` vs `len(set(...))`), and ought ideally to explain where the duplicate comes from (ie: AdminSite-wide).

Related ticket about E130: #30311 (+ those it references) but is about the replacement strategy rather than the error message itself."	Cleanup/optimization	closed	contrib.admin	dev	Normal	fixed			Ready for checkin	1	0	0	0	1	0
