Invalid UUID errors for revision_uid and uid during recipe install from exported content
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3557175. --> Reported by: [pritishkumar](https://www.drupal.org/user/3520580) Related to !675 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>While testing the site export/import workflow in Drupal CMS 2.0 alpha, I encountered UUID validation errors when importing a recipe that includes exported content.</p> <p>After creating a few components using the Drupal CMS Starter, exporting the site as a recipe (test recipe), and then attempting to install a new site using that recipe, the import failed with the following error:</p> <pre>/cms/recipes/start_test/content/node/00d105b3-6f05-40c6-a289-3dd61c89480e.yml:<br>revision_uid.0.target_uuid = This is not a valid UUID.<br>uid.0.target_uuid = This is not a valid UUID.</pre><p>The error appears to occur when the exported content YAML includes user references (uid and revision_uid) that are not valid or resolvable during import.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <ol> <li>Install Drupal CMS 2.0 alpha.</li> <li>Install the Drupal CMS Starter recipe.</li> <li>Add a few components or nodes as content.</li> <li>Use Site Export to export the site as a recipe (named test recipe).</li> <li>Attempt to install a new site using the exported recipe.</li> <li>During installation, observe the following import errors in the logs/output:</li> </ol> <pre>revision_uid.0.target_uuid = This is not a valid UUID.<br>uid.0.target_uuid = This is not a valid UUID.</pre><h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-data-model-changes">Configuration changes</h3>
issue