[FIXED] No default member role assigned when joining

Waves

Member
is this a bug?

3129



When you join a public group (without approval) the 'Member role' is set to nothing for ones who join instantly. However when enabling approval, then it sets the user to the 'Member' field automatically?

Shouldn't it also automatically set users as 'member' when approvals are disabled?
 
The member role does not show when member are awaiting approval. Anyway this still a bug. It's should not show in this case.
 
No, members are not awaiting approval and are in group fully without a role.

The group was made fully public, which means anyone can join without need of approval. When joining, the members will not get a default role.
 
I have ensure that new members must have a role. But to resolve your issue you may run custom query to fix it.
Code:
update xf_tl_group_member
set member_role_id = 'member'
where member_role_id = '' and member_state = 'valid'
 
Back
Top