プロジェクト

全般

プロフィール

Vote #75401

完了

Error when removing user from group

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

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

0%

予定工数:
category_id:
27
version_id:
86
issue_org_id:
17486
author_id:
106815
assigned_to_id:
1
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
82
ステータス-->[Closed]

説明

Trying to remove certain users from certain groups raises and redmine error.

i.e.: deleting "foo" from group "bar" (using Administration->Groups)
leads to the following trace in production.log:

Started DELETE "/redmine/groups/207/users/211" for 192.168.122.1 at 2014-07-16 18:36:28 +0200
Processing by GroupsController#remove_user as JS
Parameters: {"id"=>"207", "user_id"=>"211"}
Current user: xxx (id=608)
Completed 500 Internal Server Error in 21.8ms

NoMethodError (undefined method id' for nil:NilClass):
app/models/member.rb:87:in
set_issue_category_nil'
app/models/member_role.rb:42:in remove_member_if_empty'
app/models/group.rb:68:in
block in user_removed'
app/models/group.rb:67:in user_removed'
app/controllers/groups_controller.rb:103:in
remove_user'

Some users were successfully deleted, but some others consistently raise this error.


journals

--------------------------------------------------------------------------------
This should be fixed by r13334.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------

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

  • カテゴリGroups_27 にセット
  • 対象バージョン2.5.3_86 にセット

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

いいね!0
いいね!0