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 corporate information pages error #1918

Merged
merged 1 commit into from
Nov 20, 2020
Merged

Conversation

sihugh
Copy link
Contributor

@sihugh sihugh commented Nov 20, 2020

Some corporate information pages are erroring because the list of IDs in corporate information groups in the details hash doesn't match the list of linked corporate information pages in the links hash.

Even if they do eventually resolve, these two lists will occasionally be out of sync when they're updated because of the way our publishing system works. We should defend against this so it doesn't error.

Resolves this sentry error

Compare:

⚠️ This application is Continuously Deployed: ⚠️

  • Merged changes are automatically deployed to staging and production.

  • Make sure you follow the guidance for deployments before you merge.

  • Check your branch is being deployed in the Release app, after merging.

@bevanloon bevanloon temporarily deployed to government-f-fix-corp-i-nqpdno November 20, 2020 13:10 Inactive
@sihugh sihugh force-pushed the fix-corp-info-groups-error branch from b31ddd7 to a6fa3f0 Compare November 20, 2020 13:11
@bevanloon bevanloon temporarily deployed to government-f-fix-corp-i-nqpdno November 20, 2020 13:12 Inactive
Some [corporate information pages](https://www.gov.uk/government/organisations/migration-advisory-committee/about)
are erroring because the list of IDs in corporate information groups in the
details hash doesn't match the list of linked corporate information pages
in the links hash.

Even if they do eventually resolve, these two lists will occasionally be
out of sync when they're updated because of the way our publishing system
works. We should defend against this so it doesn't error.

Resolves this [sentry error](https://sentry.io/organizations/govuk/issues/1813208304/?environment=production&project=202226&query=is%3Aunresolved&statsPeriod=14d)
@sihugh sihugh force-pushed the fix-corp-info-groups-error branch from a6fa3f0 to 0be0eac Compare November 20, 2020 13:14
@bevanloon bevanloon temporarily deployed to government-f-fix-corp-i-nqpdno November 20, 2020 13:15 Inactive
@sihugh sihugh merged commit 72d222b into master Nov 20, 2020
@sihugh sihugh deleted the fix-corp-info-groups-error branch November 20, 2020 16:09
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.

3 participants