- Issue created by @MegaKeegMan
- Assigned to kyriazo
- Status changed to Postponed: needs info
8 months ago 3:59pm 10 April 2024 Tested on Drupal 10.2 with php 8.2 and works correctly. Can you give more feedback in order to reproduce the issue? Can you reproduce it on a clean environment?
- πΊπΈUnited States MegaKeegMan
Yes. The issue is that the uuid of the admin user is different between instances, so it tries to create a new user with the same name. So I guess I could just update the uuid to reflect the admin on the separate instance. Just a minor inconvenience.
- πΊπΈUnited States MegaKeegMan
I am trying to use this to generate default content for a distribution though. I could write a script that gets the uuid of the admin, updates the uuid in each default content zip, and then imports. But I guess the alternative is whether the import needs to respect the uuid of the referenced user, or if it could just infer that information based on the user with the given username. Any different ideas or suggestions?
- πΊπΈUnited States MegaKeegMan
Maybe a big ask but a token would be cool
- Assigned to nginex
- Status changed to Needs work
7 months ago 2:13pm 17 April 2024 - πΊπ¦Ukraine nginex
I think this should be improved in doImport() method, at least we can have an extra validation by loading users by email and username if entity by uuid was not found. I will provide a patch, once it's available, there will be nothing to do on your side, I'm also planning to provide a new release soon, so the patch will be included to the new release immediately