New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SoftDeleteable] Form with deleted relation exception #1759
Comments
Hi, extensions do not provide ways to deal with relations of softdeleted items, it simply would be too cumbersome to implement and would not cover all possible options. I've seen someone has made a bundle to deal with it in some way. But I personally haven't used this extension and manually managed softdeletion. |
Don't hesitate to point me the bundle if you remember. |
see #505 |
Thank you, so a |
@Glideh Did that solve your problem ? I got same issue but can't get through. It seems that it works only if form is linked to the 'One' entity in the ManytoOne relation. Which is not my case... |
I did finally not use this softdelete extension. |
ok, thanks. I've finally chosen to use the 'fetch=eager' solution to bypass the filter |
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. |
Trying to display a form bound to an
objectA
linked to a soft deletedobjectB
selectable in a list will throw an exception.Let's see some code:
Gives
... since the transformer can't get
objectB
anymoreIs there a simple way to silently show the form just without
objectB
in the list ?I need this behavior in many places of my current application.
The text was updated successfully, but these errors were encountered: