Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
ronaldtebrake CreditAttribution: ronaldtebrake as a volunteer and at Open Social for Open Social commentedhttps://github.com/goalgorilla/open_social/pull/1962/files
Comment #5
ronaldtebrake CreditAttribution: ronaldtebrake as a volunteer and at Open Social for Open Social commentedWill be in 9.2