drupal-console icon indicating copy to clipboard operation
drupal-console copied to clipboard

[config:export:content:type] cect adds extra ".yml" extension

Open Gribnif opened this issue 4 years ago • 1 comments

Problem/Motivation

Using the cect command causes base_field_override files to be created with an extra ".yml" extension, which has to be manually removed.

How to reproduce

Here's a sample session:

Dans-iMac:dru8 $ drupal cect --remove-uuid --remove-config-hash --module=amh_types content_gallery

 Export content type in module as an optional configuration (yes/no) [yes]:
 > n

 Include content type module dependencies in module info YAML file (yes/no) [yes]:
 >

 // config:export:entity

 Export the bundle in the module as an optional configuration (yes/no) [yes]:
 > n

 Exporting bundle content_gallery
- modules/custom/localmods/modules/amh_types/config/install/node.type.content_gallery.yml
- modules/custom/localmods/modules/amh_types/config/install/core.base_field_override.node.content_gallery.promote.yml.yml
...

Note the filename: core.base_field_override.node.content_gallery.promote.yml.yml

Gribnif avatar May 26 '20 21:05 Gribnif

Still broken, and only core.base_field_override files.

steinkerchner avatar Jun 05 '21 13:06 steinkerchner