'languageId' => Uuid::
fromHexToBytes($context->
getLanguageId()),
'mailTemplateTypeId' => Uuid::
fromHexToBytes($mailTemplate->
getMailTemplateTypeId()),
] );
if (!
$mailTemplateTypeTranslation) { // Don't throw errors if this fails // Fix with NEXT-15475
$this->logger->
error( "Could not update mail template type, because translation for this language does not exits:\n"
. 'Flow id: ' .
$event->
getFlowState()->flowId . "\n"
. 'Sequence id: ' .
$event->
getFlowState()->
getSequenceId() );
return;
} $this->mailTemplateTypeRepository->
update([[ 'id' =>
$mailTemplate->
getMailTemplateTypeId(),
'templateData' =>
$templateData,
]],
$context);
}