sonata-project / SonataAdminBundle

The missing Symfony Admin Generator
https://docs.sonata-project.org/projects/SonataAdminBundle
MIT License
2.11k stars 1.26k forks source link

Incorrect select child items admins #8018

Closed ghost closed 1 year ago

ghost commented 1 year ago

Environment

Docker php:8.1.7-fpm

Sonata packages

show

``` "symfony/console": "^5.4", "symfony/dotenv": "^5.4", "symfony/expression-language": "^5.4", "symfony/flex": "^2.2", "symfony/framework-bundle": "^5.4", ```

Symfony packages

show

``` "symfony/console": "^5.4", "symfony/dotenv": "^5.4", "symfony/expression-language": "^5.4", "symfony/flex": "^2.2", "symfony/framework-bundle": "^5.4", "symfony/http-client": "^5.4", "symfony/intl": "^5.4", "symfony/mailer": "^5.4", "symfony/messenger": "^5.4", "symfony/monolog-bundle": "^3.8", "symfony/property-access": "^5.4", "symfony/property-info": "^5.4", "symfony/runtime": "^5.4", "symfony/security-bundle": "^5.4", "symfony/twig-bundle": "^5.4", "symfony/validator": "^5.4", "symfony/yaml": "^5.4", ```

PHP version

php-8.1

Subject

Incorrect select child items for parent entity

Minimal repository with the bug

Steps to reproduce

Expected results

Select child items only parent entity

Actual results

Select all item child entity, parent is ignored.

ghost commented 1 year ago

Sorry not a bug