プロジェクト

全般

プロフィール

Vote #70904

完了

Only 100 users are displayed when adding new project members

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Project settings_43
対象バージョン:
開始日:
2011/11/11
期日:
進捗率:

0%

予定工数:
category_id:
43
version_id:
60
issue_org_id:
9549
author_id:
44213
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
35
ステータス-->[Closed]

説明

When there's more than 100 users in redmine, it is possible that some users won't be listed in the "New member" box in project settings for adding new members.

I think the bug is introduced in:
redmine-1.2.1/app/views/projects/settings/_members.rhtml

On line 54:

<% principals = Principal.active.find(:all, :limit => 100, :order => 'type, login, lastname ASC') - @project.principals %>

:limit=>100 is hardcoded. So users that are ordered outside the first 100 entries will never be shown.

When the first 100 users in the sorted order are added to the project, the "New member" box will always show empty results.


journals

This is the intended behavior as implemented initially by r2638 for issue #2993, which introduced the limit of 300 users:
> Adds a user search field with autocompleter on project members screen.
User selection with checkboxes is disabled if there are more than 300 users available (#2993).

and secondly as changed by r2869 for issue #1018, which set the current limit to 100 users. If you have 100+ users in your Redmine instance you should use the auto-completer instead. It's especially meant for such purpose.

Note: if you want to discuss the actual limit and/or want to suggest another value, feel free to open a new feature-request dedicated to such containing a detailed use-case supporting a proposed change.
--------------------------------------------------------------------------------
Fixed in r11200. A pagination lets you see all users now when adding members to a project or a group.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

duplicates,Closed,9589,Adding Members to a project doesn't show all members available
duplicates,Closed,6347,All members not being displayed in Projects -> Settings
duplicates,Closed,8547,Add member list not showing all users

Admin Redmine さんが約4年前に更新

  • カテゴリProject settings_43 にセット
  • 対象バージョン2.3.0_60 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0