No plugin ID specified for component with "" UUID

Created on 3 April 2023, about 2 years ago

My module rg_text_quality added to Complete split section. It is in development yet.

On drush cim on prod I have:
[error] Drupal\Core\Config\ConfigException: Errors occurred during import in Drush\Drupal\Commands\config\ConfigImportCommands->doImport() (line 310 of /DATA/home-sites/lom/vendor/drush/drush/src/Drupal/Commands/config/ConfigImportCommands.php).

In ConfigImportCommands.php line 324:
The import failed due to the following reasons:
core.entity_view_display.node.ads_buy.default: No plugin ID specified for component with "" UUID.

In core.entity_view_display.node.ads_buy.default.yml:

          4a39d109-dbb5-4026-a18b-af7c63da30ff:
            configuration:
              context_mapping: {  }
              formatter:
                settings: {  }
                third_party_settings: {  }
            additional: {  }

In config_split.patch.core.entity_view_display.node.ads_buy.default.yml:

adding:
  dependencies:
    config:
      - field.field.node.ads_buy.rg_text_quality_choice
    module:
      - rg_text_quality
  third_party_settings:
    layout_builder:
      sections:
        -
          components:
            4a39d109-dbb5-4026-a18b-af7c63da30ff:
              uuid: 4a39d109-dbb5-4026-a18b-af7c63da30ff
              region: content
              configuration:
                id: 'field_block:node:ads_buy:rg_text_quality_choice'
                label_display: '0'
                context_mapping:
                  entity: layout_builder.entity
                formatter:
                  type: rg_text_quality
                  label: above
                  settings: {  }
                  third_party_settings: {  }
              weight: 12
              additional: {  }
        -
          components:
            4a39d109-dbb5-4026-a18b-af7c63da30ff:
              uuid: 4a39d109-dbb5-4026-a18b-af7c63da30ff
              region: content
              configuration:
                id: 'field_block:node:ads_buy:rg_text_quality_choice'
                label_display: '0'
                context_mapping:
                  entity: layout_builder.entity
                formatter:
                  type: rg_text_quality
                  label: above
                  settings: {  }
                  third_party_settings: {  }
              weight: 12
              additional: {  }
        -
          components:
            4a39d109-dbb5-4026-a18b-af7c63da30ff:
              uuid: 4a39d109-dbb5-4026-a18b-af7c63da30ff
              region: content
              configuration:
                id: 'field_block:node:ads_buy:rg_text_quality_choice'
                label_display: '0'
                context_mapping:
                  entity: layout_builder.entity
                formatter:
                  type: rg_text_quality
                  label: above
                  settings: {  }
                  third_party_settings: {  }
              weight: 12
              additional: {  }
  content:
    rg_text_quality_choice:
      type: rg_text_quality
      label: above
      settings: {  }
      third_party_settings: {  }
      weight: 20
      region: content
removing: {  }
๐Ÿ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

๐Ÿ‡ท๐Ÿ‡ธSerbia super_romeo Belgrade

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

Comments & Activities

  • Issue created by @super_romeo
  • ๐Ÿ‡ท๐Ÿ‡ธSerbia super_romeo Belgrade
  • ๐Ÿ‡จ๐Ÿ‡ดColombia angelgarciaco Bogotรก, Colombia

    I've the same issue. Any news about it?

  • ๐Ÿ‡ต๐Ÿ‡ฐPakistan hmdnawaz

    This error still exists in 2025.

    I'm also facing the issue. The error occurs in view modes that use the layout builder.

    Is there any workaround?

  • ๐Ÿ‡ต๐Ÿ‡ฐPakistan hmdnawaz

    When patch config split is created for the view mode with layout builder, the actual field display is moved to the patched version but the config left with this config

              437151a9-12cd-4d10-a578-08901f92206f:
                configuration:
                  context_mapping: {  }
                  formatter:
                    settings: {  }
                    third_party_settings: {  }
                additional: {  }
                third_party_settings: {  }
    

    Which doesn't contain an id so that is why we get that error. Just remove it from the actual config and the import will be fine

Production build 0.71.5 2024