A [SoftDeleteable] cycle has been detected, so a topological sort is not possible. The getCycle() method provides the list of nodes that form the cycle. #2795
doctrine:
dbal:
password: '%env(DATABASE_PASSWORD)%'
url: '%env(resolve:DATABASE_URL)%'
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '13'
orm:
filters:
softdeleteable:
class: Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter
enabled: true
dql:
string_functions:
JSON_CONTAINS: Scienta\DoctrineJsonFunctions\Query\AST\Functions\Mysql\JsonContains
FIELD: DoctrineExtensions\Query\Mysql\Field
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true
report_fields_where_declared: true
mappings:
gedmo_tree:
prefix: Gedmo\Tree\Entity
dir: "%kernel.project_dir%/vendor/gedmo/doctrine-extensions/src/Tree/Entity"
alias: GedmoTree # (optional) it will default to the name set for the mapping
is_bundle: false
App:
is_bundle: false
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity'
alias: App
Hello, i have an issue with sofrdelete on Symfony 6.3 and doctrine extension 3 softdeleteable
i would like soft delete an entity User but i've got a doctrine error :
Could you help me ? Thx ^^
UserController :
My User Entity :
AdminUserModel Entity Superclass :
Doctrine.yaml :
stof_doctrine_extensions.yaml :