-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not possible to remove group members (Bug) #43
Comments
Just confirmed while testing #45 (comment). Not sure if it's related, but in Drupal you can see the system action "Remove from group" ( |
Also confirmed, and it's a one-liner fix actually. It turned out that OgMembership extends (core) Entity, but doesn't override function id(). In includes/og.membership.inc:
A PR has to wait until a regression from my previous PR gets fixed (unrelated issue). |
A PR is now available for testing and review: #53 |
Great, many thanks for the PR! I can test it probably Monday. |
I've tested the PR. I guess it doesn't fix the issue, or only partly. Steps to reproduce:
|
@olafgrabienski many thanks for testing. A question: how did you apply the patch? Did you verify the code is there? Important: did you flush caches? |
Ha, caught me! Actually, I missed to apply the patch (got confused while changing something else on the test site). And: after applying the patch, I am able to remove the group member, so the PR works for me! (Tested both the "remove" link as admin, and the "Unsubscribe from group" link as member.) |
Great !!! Thanks very much. |
Thanks for the report (and testing) @schoenid, and the PR @indigoxela! Thanks for testing @olafgrabienski! Merged. |
While trying to remove a group member, the notification "The membership was removed." occurs, but the member is still there.
It's state can be changed to pending, active or blocked without problems.
On states pending or active the member itself has the option to "Unsubscribe from group". If that link is clicked, the "Unsubscribe" button appears, but after clicking it, the membership is not removed.
Backdrop CMS | 1.21.2
No messages in log reports.
The text was updated successfully, but these errors were encountered: