- πΊπΈUnited States froboy Chicago, IL
This seems like it might be a duplicate of β¨ Fails on translated inline blocks Closed: duplicate . That's had a little bit more testing, so I'd recommend we consolidate efforts there.
When a layout is cloned, it tries to set the language of the inline block to the target entity's language. When the source inline block has translations, they also get cloned, and we get an error that a translation exists.
This issue only occurs, if a contrib module like tmgmt is adding a translation to an inline block via API.
In order to make tmgmt work with layout_build_at also, it's handy if it would copy translated value into the clone layout instead. The same approach is being used in a patch for entitiy_clone, which we can apply here also.
1. copy all the values from the fields
2. delete the translation
3. set the target language
4. update all translated fields
Closed: duplicate
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This seems like it might be a duplicate of β¨ Fails on translated inline blocks Closed: duplicate . That's had a little bit more testing, so I'd recommend we consolidate efforts there.