Member Role sync failing with membership with Pending status

Created on 15 December 2021, over 2 years ago
Updated 28 November 2023, 7 months 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.69.0 2024