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

Prevent errors for missing public_updated_at #1449

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

kevindew
Copy link
Member

This stops document collections raising errors when a public_updated_at
value is not set on a document. This is often the case with draft GOV.UK
documents, however Whitehall tends to fill in this field which is why
this error hasn't been seen before.


Visual regression results:
https://government-frontend-pr-[THIS PR NUMBER].surge.sh/gallery.html

Component guide for this PR:
https://government-frontend-pr-[THIS PR NUMBER].herokuapp.com/component-guide

This stops document collections raising errors when a public_updated_at
value is not set on a document. This is often the case with draft GOV.UK
documents, however Whitehall tends to fill in this field which is why
this error hasn't been seen before.
Copy link
Contributor

@1pretz1 1pretz1 left a comment

Choose a reason for hiding this comment

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

Left a comment but it's probably irrelevant! 😆

@kevindew kevindew merged commit 8363266 into master Aug 20, 2019
@kevindew kevindew deleted the handle-draft-collections branch August 20, 2019 17:05
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