Problem/Motivation
When configuring fields for a content type duplication, the 'id' attribute from the configuration is missing a schema definition.
Steps to reproduce
1. Install the module.
2. Configure a few content types, add at least one field with a value different thant 'skip'.
3. Install Configuration Inspector module ( https://www.drupal.org/project/config_inspector ).
4. Go to admin/reports/config-inspector and find the content_entity_clone.bundle.settings.* rellevant configurations.
5. Enter the List link in any of them.
For each field configured, it shows "missing schema 'id' is not a supported key."
Proposed resolution
The existing configuration schema in config/schema/content_entity_clone.settings.yml does not seem to match the existing configuration created by the module. It should have a "processor" key, and then an "id" and "settings" attributes inside.
Issue fork content_entity_clone-3514273
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
guiu.rocafort.ferrerWe might want to add additional validation for the ContentEntityCloneFieldProcessor plugins ( see https://www.drupal.org/node/3330852 ), but this would require to bump up the minimal Drupal version to 10.1 in the next release.
Comment #4
guiu.rocafort.ferrerComment #6
orakili commented