Export with references of media incomplete

Created on 23 February 2018, over 6 years ago
Updated 5 January 2024, 6 months ago

Hi

I have 2 problems with exporting media and files.

General System

- Core 8.4.5
- Setup a multilingual site with 2 languages (in my case English/German)
- Modules for default_content: better_normalizers, default_content, default_content_extra

Steps to recreate

1. Setup media (e.g. image or document)
2. Setup the translation for content & media. (Not file translation)
3. Create some content with media and some media entities and translate them so you have for example different files for each language.

Problem 1:

When I export untranslated content with references (dcer) which includes a media field: The node and the media entity are exported as well as the file for that language.
If the media entity is translated, I can see the information for the translated file in the media export. But the referenced file (the not used translated one) doesn't get exported.

I'm not sure if this works as designed (the file isn't used by the content therefore no export) or if the translated file should be exported as well because it's referenced by the media entity.

Problem 2:

Based on Problem 1 I then tried to the export (dcer) the translated media entity.
I expected at least here I would get the export of both files. But only the file in the original language is exported.

I had to manually export the file as well - then everything worked and I could import everything without having only half of my media files.

Best regards,
Caralin

πŸ› Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Caralin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024