[HOTFIX] Add member fails if a group is already member
Caetan> yeap, that's the problem, once you add a group you ca 't add new single members because it always throws an exception that a user belongs to a group actually, you can try to add a fake user and it will throw the same exception, because the if condition that checks if the user exists is after the isMemberByUserName check
Hello, I'm working on the test and I found a bug on the add members funcionality. Backend throws an error User whatsever is already in a member group. even if in fact the user doesn't belong to this group, so it's not possible to add any new single user if there is a group already added.
Since isMemberByUserName returns a false, and the filter does g.isMemberByUserName(this.membername)).length > 0 I guess that the problem is here