-
Notifications
You must be signed in to change notification settings - Fork 60
Unpublish, delete and delete many does not unindex content on meilisearch anymore #487
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
Comments
I have a hard time reproducing this error as it works in my local environment. I tried with the latest Strapi version as well (4.3.2) |
@bidoubiwa I have the same behaviour by cloning the project. |
If someone have the same purpose ( can be in 0.7.0 and 0.7.1) : (insert data works but nor delete or unpublish entry ) On our side, we were using the transformEntry to change the id to corresponding to our slug in meilisearch. Before (with bug)transformEntry({entry}) {
return {
id: entry.slug,
…
} After (with bug fixed)transformEntry({entry}) {
return {
id: entry.id,
slug: entry.slug,
…
} So if you have the same bug just remove the transformation of the id on your configuration file to avoid it. Thank you very much @bidoubiwa to help us to find where was the problem. |
Description
Since the 0.7.1 plugins version (to fix afterDeleteMany a working hook), the
unpublish
,delete
anddeleteMany
hooked methods do not work anymore to unpublish entry in meilisearch.Expected behavior
When we click on unpublish or delete; the deleted or unpublished content should be unindexed from meilisearch.
Current behavior
no error log nor de-indexing content
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: