social_event_managers module wrongly set as group_node plugin provider

Created on 4 July 2023, over 1 year ago
Updated 28 May 2024, 7 months ago

Problem/Motivation

When I try to uninstall `social_event_managers` module, I get an error:

social_event_managers: The following group content plugins still have content for them: <em class="placeholder">Group node (Article)</em>.

It means that group_node:news GroupContentType is attached to a plugin that is wrongly provided by `social_event_managers`.

It is confirmed when I go on my group available-content configuration page:
`/admin/group/types/manage/{myGroupType}/content`
It shows that Group nodes (Article) (and any other GroupNode derivers) are provided by `social_event_managers` module, instead of `group_node`

Steps to reproduce

  • Install OpenSocial 11.9.x
  • Enable any group node deriver (let's say news (article)) on a group type.
  • If `social_event_managers` is enabled, it takes the ownership of the plugin above. And then you can not uninstall it anymore.

Proposed resolution

Fix GroupEventNode GroupContentEnabler plugin declaration, by setting another plugin_id (`group_node_event` instead of `group_node`), and don't set any deriver since it already declares `event` as entity_bundle.

Remaining tasks

Provide PR.

πŸ› Bug report
Status

Needs work

Version

12.2

Component

Groups

Created by

πŸ‡«πŸ‡·France julienjoye

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024