Group content form irregularities due to content form check for group content

Created on 21 February 2022, almost 3 years ago
Updated 3 April 2024, 8 months ago

Problem/Motivation

When adding Group content other than nodes the Gin theme's _gin_is_content_form() check assumes all content paths are for nodes, and alters the form as if they are. This can cause issues for other types of entities such as taxonomy terms or menus being added to a group where an empty sidebar, or multiple actions elements can appear on the form.

See the attached screenshot for an empty sidebar, and multiple actions groups appearing on a form to add a taxonomy term to a group.

Steps to reproduce

Use a module such as Group Term or Group Content Menu , install the related group content plugins they provide, then navigate to the form to add new taxonomy term or menu content to a group.

Proposed resolution

Change the _gin_is_content_form() check so it only applies to group node content.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom jeni_dc

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024