Handle partial structure in global asset library during CLI operations
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3569004. --> Reported by: [balintbrews](https://www.drupal.org/user/613760) Related to !495 >>> <h3>Overview</h3> <p>The CLI crashes when the <code>global</code> asset library entity has a partial structure &mdash; specifically when any of <code>css</code>, <code>css.original</code>, <code>js</code>, or <code>js.original</code> is not set.</p> <p>Canvas ships with a default config at <code>config/install/canvas.asset_library.global.yml</code> that includes the full structure. However, when Canvas is enabled via a Recipe, the recipe can supply its own asset library config that may not include all properties. If the recipe's config omits or partially defines the <code>css</code> or <code>js</code> properties, the CLI crashes when attempting to build or download.</p> <h3>Proposed resolution</h3> <p>The CLI should gracefully handle missing properties by defaulting to empty strings.</p> <h3>User interface changes</h3> <p>n/a</p>
issue