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
{{ message }}
Repository navigation
"Add to groups" and "Remove from groups" do nothing or crash while the users' details are loading #3724
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
"Add to groups" and "Remove from groups" do nothing or crash while the users' details are loading. Cause: The list is loaded without memberOf (views/Users.vue:247), which is filled in later (:271-279); AddToGroupsModal.vue:52,70 and RemoveFromGroupsModal.vue:48,66 read it unguarded, and ModalWrapper.vue:87 swallows the error.
Reproduction Steps
Users: select many users (or one on a slow connection).
Immediately open "Add to groups", pick a group, confirm.
Expected Outcome
The users are added, or the action waits until the data is loaded.
Actual Outcome
Confirm silently does nothing (no request, no toast). With one user the modal doesn't open: Cannot read properties of undefined (reading 'some').
Activity