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

Newsroom pages aren't updated with the latest news #2480

Closed
meols opened this issue Aug 23, 2024 · 8 comments
Closed

Newsroom pages aren't updated with the latest news #2480

meols opened this issue Aug 23, 2024 · 8 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@meols
Copy link
Collaborator

meols commented Aug 23, 2024

We see that neither the no or the en newsroom is updated with the latest news.

I published a news today that is visible on the homepages, but not on the newsroom pages. The English newsroom is just missing the latest news (from today), but the Norwegian newsroom is missing the one from today and two more.
image.png

image.png

@meols meols added the 🐛 bug Something isn't working label Aug 23, 2024
@padms padms self-assigned this Aug 23, 2024
@padms
Copy link
Contributor

padms commented Aug 23, 2024

Will do a quick fix

@padms
Copy link
Contributor

padms commented Aug 23, 2024

Fixed this for all news that went missing. Will see if there are any issues with the new ones , if not we are good to close. I have updated the webhook which I missed to update after i18n.

@padms
Copy link
Contributor

padms commented Aug 29, 2024

28 th Aug news publish did not trigger webhook, so the news is not indexed. So manually trigger the indexer function.

@padms
Copy link
Contributor

padms commented Sep 11, 2024

11th sep news is not indexed. Modified the webhook to trigger on create not on update.

@padms
Copy link
Contributor

padms commented Sep 17, 2024

Confirmed that the news is indexed on 17 th sep

@meols
Copy link
Collaborator Author

meols commented Oct 1, 2024

@padms - any test criteria for this one? I can also confirm that new news are showing on the /news page.

@padms
Copy link
Contributor

padms commented Oct 1, 2024

@meols No specific criteria to test as this is happened in prod. Two things were done to fix

  • I updated the old _lang field with the new lang field in the webhook that I missed during i18n upgrade.
  • Next, I enabled the webhook trigger on publish along with edits. This was necessary after the i18n upgrade.

I observed the newsroom for the last two news articles published and they were indexed immediately.
I suggest we can close this now as this is due to wrong configuration of the webhook and not a bug in the code. Please create a new one if an issue arises in future.

@meols
Copy link
Collaborator Author

meols commented Oct 1, 2024

Thanks @padms - I agree, this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants