diff --git a/composer.json b/composer.json index 58a1f6d6..c7f19bb2 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "jms/serializer": "^3.3", "jms/serializer-bundle": "^3.3 || ^4.0 || ^5.0", "ramsey/uuid": "^3.1 || ^4.0", - "sulu/content-bundle": "^0.8.1 || ^0.8.1@dev", + "sulu/content-bundle": "^0.8.1 || ^0.9@dev", "sulu/messenger": "^0.2.4 || ^0.2.4@dev", "sulu/sulu": "^2.6.0 || ^2.6.4@dev", "symfony/config": "^6.4 || ^7.0", diff --git a/src/Infrastructure/Symfony/HttpKernel/SuluArticleBundle.php b/src/Infrastructure/Symfony/HttpKernel/SuluArticleBundle.php index fe66e394..d762369c 100644 --- a/src/Infrastructure/Symfony/HttpKernel/SuluArticleBundle.php +++ b/src/Infrastructure/Symfony/HttpKernel/SuluArticleBundle.php @@ -191,7 +191,7 @@ public function loadExtension(array $config, ContainerConfigurator $container, C ->class(ContentObjectProvider::class) ->args([ new Reference('doctrine.orm.entity_manager'), - new Reference('sulu_content.content_resolver'), + new Reference('sulu_content.content_aggregator'), new Reference('sulu_content.content_data_mapper'), '%sulu.model.article.class%', ArticleAdmin::SECURITY_CONTEXT,