Problem/Motivation

Request membership link throws error when added to view where the view contains groups without the group_membership_request plugin.

Steps to reproduce

Create a group type with the group_membership_request plugin and a group type without the group_membership_request plugin.
Add a view with with these groups and add "Request membership" link.
The following error is shown:
Drupal\Component\Plugin\Exception\PluginNotFoundException: Plugin ID 'group_membership_request' was not found. in Drupal\Core\Plugin\DefaultLazyPluginCollection->initializePlugin()

Proposed resolution

The Request membership link should work in views with mixed group types

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork grequest-3270134

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

e.ruiter created an issue. See original summary.

lobsterr’s picture

Assigned: Unassigned » lobsterr
lobsterr’s picture

Assigned: lobsterr » Unassigned
Status: Active » Needs review

I have added also checks to Approval / Rejection links. Also, add an additional logic to extract group.

  • LOBsTerr committed 465b31f on 1.0.x authored by e.ruiter
    Issue #3270134: Request membership link throws error when added to view...
lobsterr’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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