Group::getMembers() returns empty for syncronized roles

Created on 26 December 2022, over 1 year ago
Updated 8 February 2023, over 1 year ago

Problem/Motivation

Webform Group module calls $group->getMembers(['member']);, where the role 'member' is an INSIDER_ID scoped role synced to the global role of AUTHENTICATED_ID. I assume this is similar to the previous default all members default role in Group v1. Webform group supports tokens where it loads all members of a group and emails them. However, calls to ::getMembers() returns empty list, because there doesn't seem to be any accounting for this type of user loading by role ID in group v3 for synchronized roles.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Fixed

Version

3.0

Component

Code

Created by

heddn Nicaragua

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024