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

Issue-1154: A different approach to reindex the deleted article #1177

Conversation

renatonascalves
Copy link

@renatonascalves renatonascalves commented Oct 11, 2024

This is a followup from #1176
See #1154

  • Do not delete the meta on GET requests;
  • Reindex post in the same push request.

The new approach makes sure it works for both the classic editor and the block editor.

@renatonascalves renatonascalves self-assigned this Oct 11, 2024
@@ -52,16 +52,7 @@ public function perform() {
}

// Get the article from the API.
try {
Copy link
Author

Choose a reason for hiding this comment

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

I removed this so that we keep the data removal intentional. Since GET requests are performed in more unrelated places than I anticipated.

Copy link

Choose a reason for hiding this comment

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

interesting here

Copy link

@manewc manewc left a comment

Choose a reason for hiding this comment

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

🥍

@renatonascalves renatonascalves merged commit e0ff7b7 into develop Oct 14, 2024
11 checks passed
@renatonascalves renatonascalves deleted the feature/feature/issue-1154/support-handling-deleted-articles-second-approach branch October 14, 2024 23:03
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

Successfully merging this pull request may close these issues.

2 participants