Huge dropdown kills browser: dropdown for username in Project Settings -> Members -> add member
On our redmine forge of our open-source project we have now over 72'000 users auto-registered.
We can't assign users anymore to projects without doing it directly in the database in the members table:
Reason is that the Username selection drop-down list to add a user with a role to a project has over 72'000 entries, and that crashes any reasonable browser.
To reproduce bug:¶
- create a project
- create 100'000 active users in the database
- then go to the project -> Settings tab -> Members sub-tab
- then try adding one of the 100'000 users to the project using the drop-down
Safari and Firefox will be blocked for hours (didn't try to wait more than 3 hours, just killed it).
Probably an auto-complete field for username selection, instead of a drop-down when there are over let's say 200 members would make sense, similar to this similar fixed issue: #3350