You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to fetch soft-deleted entities using a $this->entityManager->find() , i.e. the EntityManger Interface in doctrine. Not sure why this happens but, looks like the filter is not being applied through this.
Also, when using a doctrine query to fetch entities, relations are not being filtered out either.
Given that I have 2 soft-deletable entities A and B, and entity B related to A with a Many:One relation, when, I enable the filter and fetch Entity A, I will get entities from A filtered, but then the query also fetches every entity B related to A and does not filter out soft-deleted entities from B.
Is there something I am missing out?
I have directly added the filter the config/doctrine.php
I enable the filters right before using the doctrine queries too.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am able to fetch soft-deleted entities using a
$this->entityManager->find()
, i.e. the EntityManger Interface in doctrine. Not sure why this happens but, looks like the filter is not being applied through this.Also, when using a doctrine query to fetch entities, relations are not being filtered out either.
Given that I have 2 soft-deletable entities A and B, and entity B related to A with a Many:One relation, when, I enable the filter and fetch Entity A, I will get entities from A filtered, but then the query also fetches every entity B related to A and does not filter out soft-deleted entities from B.
Is there something I am missing out?
The text was updated successfully, but these errors were encountered: