Problem/Motivation

When using the export api in core the entity_id field is exported as a numeric id. When importing back the entities referenced don't have the same numeric id. The rest of the fields export fine with an UUID.

Steps to reproduce

Create some group relationships and export with the following command:
dr content:export --with-dependencies --dir=../recipes/default_content/content group_relationship

"default_content" being the name of my recipe.

Proposed resolution

Handle the special case of that field.

Remaining tasks

Code

User interface changes

None

API changes

None

Data model changes

None

Issue fork group-3619327

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rodrigoaguilera created an issue. See original summary.

rodrigoaguilera’s picture

Status: Active » Needs review
ultimike’s picture

I agree with @rodrigoaguilera - UUIDs should be used instead of group IDs.

-mike