Overview
Code components have a metadata file that mimics that of SDCs. The download command incorrectly creates this metadata file, saving props: [...] instead of props.properties: [...].
Proposed resolution
Fix the download command, and introduce type checking for the component metadata.
Issue fork experience_builder-3539282
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 #4
balintbrewsAdding credit for reporting the issue and investigating the problem.
Comment #6
balintbrewsImportant note: While this is targeting the
1.xbranch, due to #3538775: Handle data dependencies in CLI commands, validate CLI test fixtures against OpenAPI spec, it needs to be tested with an XB module installation from the0.xbranch. Backporting code of the CLI tool has no practical benefit since it's a separate release process, but this is a bit inconvenient until we fix #3538775: Handle data dependencies in CLI commands, validate CLI test fixtures against OpenAPI spec.Comment #9
balintbrewsI might have been wrong in #6, and we may need to backport anyway and start branching with the CLI tool versions.
Comment #10
balintbrews#9 — No, we can avoid that, see #3538775-4: Handle data dependencies in CLI commands, validate CLI test fixtures against OpenAPI spec.