-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello!
First, thank you for the great project and the additional features you've provided for Sonata Admin through the partITech/sonata-extra bundle. I tried to integrate it into a test project, but encountered some issues during installation and configuration.
Steps to Reproduce:
- I created a new project using:
- PHP >= 8.2
- Symfony 7.x
- Latest Sonata Admin Bundle
- The admin panel works correctly and is accessible at
http://127.0.0.1/adminwhen usingsonata-project/admin-bundle. - After that, I replaced the
sonata-project/admin-bundleline in thecomposer.jsonfile with the following command:composer require partitech/sonata-extra
Problems:
-
After running the
composer require partitech/sonata-extracommand, I encountered the following dependency issue:Problem 1 - Root composer.json requires partitech/sonata-extra * -> satisfiable by partitech/sonata-extra[dev-main, 1.0.1, ..., 1.0.11]. - partitech/sonata-extra[dev-main, 1.0.1, ..., 1.0.11] require sonata-project/page-bundle 5.x-dev -> satisfiable by sonata-project/page-bundle[5.x-dev]. - sonata-project/page-bundle 5.x-dev requires symfony/config ^5.4 || ^6.2 -> found symfony/config[v5.4.0-BETA1, ..., 5.4.x-dev, v6.2.0-BETA1, ..., 6.4.x-dev] but the package is fixed to v7.1.1 (lock file version).
-
After replacing
sonata-project/admin-bundlewithpartitech/sonata-extrain thecomposer.jsonfile, I encountered a configuration error when running:docker compose up -d --build
The error message was:
The child config "default_formatter" under "sonata_formatter" must be configured.
Request:
Could you please provide a working demo project using your bundle so that I can better understand how to integrate it correctly? I also created a minimal demo project that works without errors when using the standard sonata-project/admin-bundle: Sonata Extra Demo. It could be used as a base for showcasing how to set up partitech/sonata-extra.
Any help or guidance on how to properly install and configure your bundle would be greatly appreciated. Thank you for your hard work!