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

Bugfix for crashing listener when deleting a Pimcore element #3

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

limenet
Copy link
Member

@limenet limenet commented Jan 25, 2021

When a Pimcore element was deleted, the listener would crash when retrieving the ES ID from the Pimcore element since the element had already been deleted.

This can be remedied by listening to preDelete instead of postDelete.

@limenet limenet added the bug Something isn't working label Jan 25, 2021
@limenet limenet requested a review from pryserv January 25, 2021 10:33
Copy link
Collaborator

@pryserv pryserv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pryserv pryserv merged commit be6b412 into master Jan 25, 2021
@pryserv pryserv deleted the fix/pre-vs-post-delete branch January 25, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants