Skip to content
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

Switch to after commit events #60

Open
leplatrem opened this issue Mar 18, 2016 · 0 comments
Open

Switch to after commit events #60

leplatrem opened this issue Mar 18, 2016 · 0 comments

Comments

@leplatrem
Copy link
Contributor

Currently when a delete request is rolledback, the attachment file is deleted.
The new AfterResourceChanged allows to register subscribers that are executed if and only if the commit was done and successful.

For example, in order to delete files from filestorage:

  • Use ResourceChanged events to mark file links as «deleted»
  • Use AfterResourceChanged events to delete files that have file links marked as deleted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant