Skip to content

Tracking Issue: Relations/Media links lost when using transfer #17343

@derrickmehaffy

Description

@derrickmehaffy

Bug report

Required System information

Describe the bug

When using the transfer option, file relationships and normal relations are not transfered for components, nested components, and dynamic zones.

Steps to reproduce the behavior

Reproduction is complex, see this example code (contained is the media assets and database).

Example User on both applications:

email: test@test.com
pass: Test1234!

Expected behavior

Relationships and media links should also be transfered

Screenshots

Source application:
image
image

Destination application:
image
image

Logs from transfer (no errors)
image

Some snips of the destination database tables via dbeaver (relations were not transferred)
image

Parent media relations were transferred but not components
image

Image from source project for example file_related_morphs
image

Code snippets

Example projects (both source and destination) including database and file uploads
testDTS.zip

Additional context

This is a tracking issue combining all other data loss issues with the DTS , additional gh issues linked below that were closed during the making of this.

#16999
#16891
#16813
#16811

Metadata

Metadata

Labels

flag: EEIssues correlates to internal EE ticketflag: tracking issueSpecial issues used to combine multiple issues into oneissue: bugIssue reporting a bugseverity: criticalIf the issue has a security impact or breaks core usage of the productsource: core:data-transferSource is core/data-transfer packagestatus: confirmedConfirmed by a Strapi Team member or multiple community members

Type

No type

Projects

Status

Fixed/Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions