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

Cannot remove deleted un-versioned DataObject from Elastic index #94

Open
adunn49 opened this issue Apr 21, 2024 · 0 comments
Open

Cannot remove deleted un-versioned DataObject from Elastic index #94

adunn49 opened this issue Apr 21, 2024 · 0 comments

Comments

@adunn49
Copy link

adunn49 commented Apr 21, 2024

When a data object or page is deleted from the CMS, a job is created (via the onAfterDelete method defined in the SearchServiceExtension) that should remove this item from the search index.

However, in the case of un-unversioned DataObjects this results in a broken job. This is because the unserialize method expects the DataObject to still exist but by then it has been deleted and no traces of it remain.

This issue was detected in version 2.1.0 of this module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant