- πΊπΈUnited States DamienMcKenna NH, USA
Please test out v2.0.x with the merge request from π drush command default-content-export-module-with-references RTBC and let us know if the problems are now resolved.
Hi
I have 2 problems with exporting media and files.
- 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
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.
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.
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
Postponed: needs info
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Please test out v2.0.x with the merge request from π drush command default-content-export-module-with-references RTBC and let us know if the problems are now resolved.