Check for content refs in Canvas config on site:export
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3590998. --> Reported by: [pameeela](https://www.drupal.org/user/1431110) Related to !883 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Twice now I have unwittingly included media entities in a Canvas config item (once a pattern and once in the footer) and been tripped up by the error when trying to reinstall.</p> <p>Can we add a check to the <code>site:export</code> command to either throw an error (my preference), or at least a warning to alert the user that they have a problem? The reason I favor an error is there are already lots of warnings about stuff that doesn't really matter, so it's likely to be ignored.</p>
issue