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
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):