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
Support for on-delete='CASCADE' with soft deletes #505
Comments
+1 for this feature, the actual implementation creates exceptions with the JMSSerializer which throws "Entity was not found" exception when trying to load an entity by ID but since it has added the WHERE deletetAt == null it doesn't return anything and gives errors. |
+1 |
1 similar comment
+1 |
@comfortablynumb Were you ever able to determine if this would be possible, and if so, how difficult of an implementation? |
+1 |
Is there something new on soft delete and cascade remove? |
it may not be hard to implement, but the author of softdeleteable is away.. and there is no news about it, most probably someone will contribute to solve this |
👍 |
I came across this same problem but the other way around: I want to be able to delete the service as expected but the sale still appearing in the history, and referencing that same service. Any suggestion on this? |
+1 |
5 similar comments
+1 |
+1 |
👍 |
+1 |
+1 |
This comment has been minimized.
This comment has been minimized.
subscribe the event 'preSoftDelete' |
This comment has been minimized.
This comment has been minimized.
This would be a great improvement! Any update or work-around on this? |
This comment has been minimized.
This comment has been minimized.
3 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@RubenHarms GitHub needs a "weeps for joy" reaction icon. Thank you! |
@adapik @gustavodpont @funcphp @glnemeth @ghanbari @versh23 @gpenverne I've removed your comments. Please use reactions instead of +1 comments. |
Hi, Has any progress been made during the years regarding this missing feature? Is it still an issue in v3? |
No progress that I'm aware of. |
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. |
Has this issue been solved? The completed tag seems misleading, perhaps it should be reopened? |
When using soft deletes, and entity object is not actually being deleted, thus no cascades trigger down to associated objects.
My original email with @l3pp4rd and @comfortablynumb:
And Gustavo's response:
The text was updated successfully, but these errors were encountered: