Translate elements fails due to record is being a string
guppy42 opened this issue · 0 comments
guppy42 commented
version 2.2.3
Using the translate button the process crashes in
Line 260 of EXT:container/Classes/Hooks/Datahandler/CommandMapBeforeStartHook.php:
$translatedContainer = $this->database->fetchOneTranslatedRecordByLocalizationParent($container['uid'], (int)$data);
because $container['uid'] is a string and the function expects an int
typecasting to (int) solves the issue
same reason for it happening as in #308