You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to add protected branches, but I cannot include users. When I select users and click save, I get this:
I, [2023-02-27T12:10:52.666116 #71] INFO -- : Started PUT "/repositories/12/protected_branches/19" for 10.23.36.15 at 2023-02-27 12:10:52 +0000
I, [2023-02-27T12:10:52.667266 #71] INFO -- : Processing by RepositoryProtectedBranchesController#update as JS
I, [2023-02-27T12:10:52.667439 #71] INFO -- : Parameters: {"utf8"=>"✓", "authenticity_token"=>"xxx", "repository_protected_branche"=>{"path"=>"dev/", "permissions"=>"RW+"}, "user_ids"=>["", "5"], "group_ids"=>[""], "commit"=>"Save", "repository_id"=>"12", "id"=>"19"}
I, [2023-02-27T12:10:52.672267 #71] INFO -- : Current user: xxx (id=5)
I, [2023-02-27T12:10:52.684013 #71] INFO -- : Completed 500 Internal Server Error in 16ms (ActiveRecord: 3.8ms | Allocations: 4103)
F, [2023-02-27T12:10:52.685072 #71] FATAL -- :
ArgumentError (wrong number of arguments (given 4, expected 3)):
plugins/redmine_git_hosting/app/use_cases/repository_protected_branches/member_manager.rb:63:in `create_member'
plugins/redmine_git_hosting/app/use_cases/repository_protected_branches/member_manager.rb:41:in `create_user_member'
plugins/redmine_git_hosting/app/use_cases/repository_protected_branches/member_manager.rb:29:in `add_users'
plugins/redmine_git_hosting/app/controllers/repository_protected_branches_controller.rb:79:in `check_members'
plugins/redmine_git_hosting/app/controllers/repository_protected_branches_controller.rb:34:in `update'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
I am able to add protected branches, but I cannot include users. When I select users and click save, I get this:
setup:
The text was updated successfully, but these errors were encountered: