The `target_uuid` property that Canvas adds to entity reference fields should be excluded from default content exports
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3569884. --> Reported by: [phenaproxima](https://www.drupal.org/user/205645) Related to !575 >>> <h3 id="overview">Overview</h3> <p>Canvas adds a <code>target_uuid</code> property to entity reference fields. This ends up being exported in default content that is exported by core's export tool, but breaks on import. And it's unnecessary anyway, because core's default content handler already resolves entity references by UUID.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>Canvas should knock the <code>target_uuid</code> property out of exported entity reference fields. This affects normal entity reference fields, not component props.</p> <p>Drupal CMS is working around this: <a href="https://git.drupalcode.org/project/drupal_cms/-/blob/2.x/drupal_cms_helper/src/EventSubscriber/DefaultContentSubscriber.php?ref_type=heads">https://git.drupalcode.org/project/drupal_cms/-/blob/2.x/drupal_cms_helper/src/EventSubscriber/DefaultContentSubscriber.php?ref_type=heads</a></p> <p>But it should be dealt with in Canvas.</p>
issue