Problem/Motivation
If you have an entity type that implements EntityOwnerInterface
but does not use uid
for the owner field, then content translation will add a content_translation_uid
field instead of using the existing owner field.
Proposed resolution
- Remove the
$this->checkFieldStorageDefinitionTranslatability('uid')
check inContentTranslationHandler::hasAuthor()
- Use
EntityOwnerInterface::setOwner()
inContentTranslationMetadataWrapper::setAuthor()
if there is nocontent_translation_uid
field