You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
Suppose you have a set of nodes that are part of a translation set...
Suppose you then add a field collection or paragraph item field to the content type, and populate the field collection / paragraph on the source language node.
If you export an XLIFF file from the source language, then attempt to import a translation, you will get an error like the following:
Recoverable fatal error: Argument 1 passed to EntityXliff\Drupal\Translatable\Content\FieldCollectionTranslatable::getHostEntity()
must be an instance of FieldCollectionItemEntity, boolean given,
called in /path/to/src/Drupal/Translatable/Content/FieldCollectionTranslatable.php on line 57
and defined in EntityXliff\Drupal\Translatable\Content\FieldCollectionTranslatable->getHostEntity()
(line 118 of /path/to/src/Drupal/Translatable/Content/FieldCollectionTranslatable.php).
Because, when it attempts to set the new embedded entity content values on the existing translation, it has no entity to set against...
This is not a problem for net-new translations in a set because the original content of the embedded entities is first duplicated.
The text was updated successfully, but these errors were encountered:
Suppose you have a set of nodes that are part of a translation set...
Suppose you then add a field collection or paragraph item field to the content type, and populate the field collection / paragraph on the source language node.
If you export an XLIFF file from the source language, then attempt to import a translation, you will get an error like the following:
Because, when it attempts to set the new embedded entity content values on the existing translation, it has no entity to set against...
This is not a problem for net-new translations in a set because the original content of the embedded entities is first duplicated.
The text was updated successfully, but these errors were encountered: