Member Role sync failing with membership with Pending status

Created on 15 December 2021, about 3 years ago
Updated 28 November 2023, about 1 year ago

Problem/Motivation

Member Role sync failing with membership with Pending status

Steps to reproduce

- Create a sync rule for Membership type A with Pending status => Drupal role.
- Create 2 memberships on a contact with type A and B, where A is set to Pending and B is set to Active.
- The sync does not attach the drupal role even if a contact has a membership of type A in pending status.

Proposed resolution

Attached patch fixes the problem.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India jitendrapurohit

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.71.5 2024