Cannot Add field group in Manage form display

Created on 7 March 2023, over 1 year ago
Updated 10 March 2023, over 1 year ago

Problem/Motivation

Adding a field group in the manage form seems to work, but it then does not show up in the list after creating it.

Steps to reproduce

Click `Add field group` in `Manage form display`, create group.
When returning back to `Manage form display` the newly created group does not show.

Proposed resolution

None.

Remaining tasks

Implement

🐛 Bug report
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

🇳🇿New Zealand atowl

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.

  • 🇳🇿New Zealand atowl

    Hi There,

    So looks like we're on version 3.1.0 of drupal/field_group, i haven't tried to export the config yet, but i'll try that.

  • 🇳🇿New Zealand atowl

    Hi,
    So upgraded field_group, and attempted to make a group again. Still didn't seem to work.
    Exported the configuration, it looks like

    uuid: e33aede0-580e-4073-9414-23b6df01a6d3
    langcode: en
    status: true
    dependencies:
      module:
        - field_group
        - link_attributes
        - menu_link_content
        - menu_item_fields
    third_party_settings:
      field_group:
        group_advanced:
          children: {  }
          parent_name: ''
          weight: 20
          format_type: tab
          region: hidden
          format_settings:
            id: ''
            classes: ''
            description: ''
            formatter: closed
            required_fields: 1
          label: Advanced
        group_feature_box:
          children: {  }
          parent_name: ''
          weight: 20
          format_type: tab
          region: hidden
          format_settings:
            show_empty_fields: 0
            id: ''
            classes: ''
            description: 'Contains all our feature box requirements'
            formatter: closed
            required_fields: 1
          label: 'Feature Box'
    id: menu_link_content..default
    targetEntityType: menu_link_content
    bundle: ''
    mode: default
    content:
      langcode:
        type: language_select
        weight: 2
        region: content
        settings:
          include_locked: true
        third_party_settings: {  }
      title:
        type: string_textfield
        weight: -5
        region: content
        settings:
          size: 60
          placeholder: ''
        third_party_settings: {  }
    hidden: {  }
    

    Does this help at all?

  • Status changed to Fixed over 1 year ago
  • 🇪🇸Spain rodrigoaguilera Barcelona

    Thanks.
    The yaml helped a lot because I could identify the "id" being odd.

    As many issues related to the menu item entities this is due to the fact that it declares having bundles but then has only one like the user entity.

    Please chime in 📌 Custom menu link entity type should not declare "bundle" entity key Needs work if you want this fixed.

    Added a workaround so field group creates the third party settings in the proper place.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024