Skip to content

BeforeEntityDeletedEvent - isPropagationStopped not working #4147

@notFloran

Description

@notFloran

Since the release 3.2.2 and the PR #4100 the delete action is broken.

I get the error:

Error: Call to undefined method EasyCorp\Bundle\EasyAdminBundle\Event\BeforeEntityDeletedEvent::isPropagationStopped()

I think is because the BeforeEntityDeletedEvent dont use the trait StoppableEventTrait.

To Reproduce

Version : 3.2.2

When i try to delete an entity I get the error : Attempted to call an undefined method named "isPropagationStopped" of class "EasyCorp\Bundle\EasyAdminBundle\Event\BeforeEntityDeletedEvent".

(OPTIONAL) Additional context

CleanShot 2021-01-22 at 08 51 51

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions