diff --git a/Neos.Media.Browser/Classes/Controller/AssetController.php b/Neos.Media.Browser/Classes/Controller/AssetController.php index e49dc7aef29..f4527c0aabc 100644 --- a/Neos.Media.Browser/Classes/Controller/AssetController.php +++ b/Neos.Media.Browser/Classes/Controller/AssetController.php @@ -70,8 +70,11 @@ */ class AssetController extends ActionController { - use CreateContentContextTrait; use BackendUserTranslationTrait; + use BackendUserTranslationTrait { + BackendUserTranslationTrait::initializeObject as backendUserTranslationTraitInitializeObject; + } + use CreateContentContextTrait; use AddTranslatedFlashMessageTrait; protected const TAG_GIVEN = 0; @@ -170,6 +173,8 @@ class AssetController extends ActionController */ public function initializeObject(): void { + $this->backendUserTranslationTraitInitializeObject(); + $domain = $this->domainRepository->findOneByActiveRequest(); // Set active asset collection to the current site's asset collection, if it has one, on the first view if a matching domain is found