Problem/Motivation

When a CM or SM or admin visits a group, with the request to join a group setting enabled it gets redirected to a page with a debug message.
This is due to the fact we don't pass along the correct setting to twig which renders the ajax pop-up to request to join a group.

Steps to reproduce

Create a Closed Group
Enable "Request membership" checkbox.
As a CM or SM try to join that group
See that it fails

Proposed resolution

Make sure we pass along the correct variables in the preprocess_group so that twig knows what to render.

Comments

ronaldtebrake created an issue. See original summary.

ronaldtebrake’s picture

  • bramtenhove committed 374191b on 8.x-9.x
    Merge pull request #1962 from goalgorilla/issue/3167974-request-for-cm-...

ronaldtebrake’s picture

Status: Needs review » Fixed

Will be in 9.2

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.