Subgroup Label doesn't change in group_relationship_field_data table

Created on 12 July 2024, 9 months ago

Problem/Motivation

We use subgroup to organize users underneath a company - where the company is a group and the location is a subgroup.

When the name of a subgroup (location) changes from A to B, the label changes in the group table (from A to B), but the name/label remains "A" in the group_relationship_field_data.label field. It causes some weird sorting issues and some of our select boxes within Drupal still have the old value.

Steps to reproduce

Create a group with a subgroup named "A". Change the name of the subgroup through the edit group function to "B". Go into the database and select the entry from group_relationship_field_data.label and it should still be "A".

Proposed resolution

Patch the behavior so it updates the group_relationship_field_data.label field with the new value.

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States msmitchell

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

Comments & Activities

Production build 0.71.5 2024