Skip to content

SoftDelete leaks the soft_delete filter between requests #19

@stof

Description

@stof

SoftDelete registers its query filter conditionally based on the request path. However, it never disables it so it will stay enabled for next requests even when they match a path that should not use the filter.
Handling multiple requests with the same EntityManager instance can happen in several cases (non exhaustive list):

  • in FrankenPhp worker mode
  • when using the KernelBrowser in tests and performing multiple requests on that browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions