Field groups are added to the scheduled transitions add form

Created on 16 February 2022, almost 3 years ago

Problem/Motivation

I have a content type that uses field groups (provided by the Field Group module) in its (default) form display. It now appears that these field groups are also added to the scheduled transitions add form.

Steps to reproduce

  1. Install the field_group module
  2. Add a field group to the default form display for a content type that has scheduled transitions enabled
  3. Visit the scheduled transitions page for a node of that content type and and add a scheduled transitions
  4. In a form alter you can see that the field group was added to the form (and nested field groups may even appear according to #3098550: Nested groups render on other entity forms (or when fields are inaccessible) when they shouldn't )

Proposed resolution

A possible solution would be to reset the form display for the scheduled transitions add form, similar to how Drupal core's layout_builder module does it: https://git.drupalcode.org/project/drupal/-/blob/9.4.x/core/modules/layo... .

🐛 Bug report
Status

Needs work

Version

2.3

Component

Code

Created by

🇧🇪Belgium rp7

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

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