Importing translated content with an image throws error if the translation doesn't exist

Created on 18 November 2022, over 1 year ago
Updated 28 January 2023, over 1 year ago

Problem/Motivation

In a multilingual site, when exporting content with an image and translations checked, importing that content when the translations are deleted gives an error "Invalid translation language (und) specified."
This does not occur when the content still has the translated version (e.g. the content and its translations still exist and are updated), or if the content does not have images.

Steps to reproduce

  • Create a multilingual site
  • Create content in multiple languages (e.g. Default and Dutch) with an image
  • Export the content with include translations checked
  • Delete the translation
  • Try to import the content
πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.3

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium artycal

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