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

fix: Deleted descendant pages do not appear in search results #7583

Conversation

miya
Copy link
Member

@miya miya commented Apr 19, 2023

Task

#120476 ゴミ箱に出し入れした際の全文検索のバグを修正する
#120600 修正 (問題1)

@miya miya requested a review from yuki-takei April 19, 2023 11:58
@miya miya self-assigned this Apr 19, 2023
@@ -1468,6 +1468,9 @@ class PageService {

throw err;
}
finally {
this.pageEvent.emit('syncDescendantsUpdate', deletedPage, user);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

バグの原因

ES 上から子孫ページを消したままで、/trash に移動したページデータを ES に保存していなかったことが原因

this.pageEvent.emit('syncDescendantsDelete', pages, user);

@miya miya temporarily deployed to VRT April 19, 2023 12:12 — with GitHub Actions Inactive
@miya miya temporarily deployed to VRT April 19, 2023 12:21 — with GitHub Actions Inactive
@reg-suit
Copy link

reg-suit bot commented Apr 19, 2023

reg-suit detected visual differences.

Check this report, and review them.

🔴🔴🔴🔴🔴
⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪⚪

🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵🔵

What do the circles mean? The number of circles represent the number of changed images.
🔴 : Changed items, ⚪ : New items, ⚫ : Deleted items, and 🔵 Passed items

How can I change the check status? If reviewers approve this PR, the reg context status will be green automatically.

@yuki-takei yuki-takei merged commit ab90cb4 into master Apr 19, 2023
21 checks passed
@yuki-takei yuki-takei deleted the fix/120600-deleted-descendant-pages-do-not-appear-in-search-results branch April 19, 2023 12:35
@github-actions github-actions bot mentioned this pull request Apr 19, 2023
@yuki-takei yuki-takei mentioned this pull request May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants