Fix index updating when culture gets unpublished#12980
Fix index updating when culture gets unpublished#12980cybersolutions-mreiter wants to merge 2 commits intoumbraco:contribfrom
Conversation
|
Hi there @CyberReiter, thank you for this contribution! 👍 While we wait for one of the Core Collaborators team to have a look at your work, we wanted to let you know about that we have a checklist for some of the things we will consider during review:
Don't worry if you got something wrong. We like to think of a pull request as the start of a conversation, we're happy to provide guidance on improving your contribution. If you realize that you might want to make some changes then you can do that by adding new commits to the branch you created for this work and pushing new commits. They should then automatically show up as updates to this pull request. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
|
Hi @CyberReiter, thanks so much for your pull request to fix the issue where unpublishing a culture variant deletes the entire node from the External Index #12964. I have merged into another branch to resolve conflicts 12980 with a plan to test with the provided replication steps, and then push to your PR and merge if successful. I've run the branch but I'm getting the same results regardless of being in
I get the same Examine index values when unpublished in Unpublished in contrib: Fields when unpublished in contrib: Unpublished in branch 12980: Fields when unpublished in branch 12980: Is this something I am doing wrongly, or has the issue since been fixed? Best regards Emma |
|
Hey @emmagarland Will close this PR as there is no more need for it. |
|
Ah, thanks for confirming @CyberReiter! Glad it is resolved but thanks again for your time on it. Emma |




Prerequisites
If there's an existing issue for this PR then this fixes #12964
Description
Currently if one culture of a node gets unpublished the whole ValueSet gets marked as filtered and will then later be removed from the index even if there are other cultures which are still published.
This PR changes this as it does not set the ValueSets as filtered but as valid and thus will update the index accordingly.
How to test
*:*you should note the homepage node in there and the fields in both cultures*:*and make sure that the node is still there but without the content of the unpublished culture