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

Bugfix - use safe navigation when rendering Induction data in AYTQ #441

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

malcolmbaig
Copy link
Contributor

@malcolmbaig malcolmbaig commented Nov 22, 2023

Context

https://dfe-teacher-services.sentry.io/issues/4658546206/?alert_rule_id=14804354&alert_type=issue&environment=production&notification_uuid=661be444-29b9-4b56-b050-46f8e1b5f854&project=4505227155996672&referrer=slack

Changes proposed in this pull request

We have a card to resolve this class of error comprehensively, but for now patch in safe navigation so we don't get an error when trying to render Inductions from the API where period fields are nil.

Guidance to review

Link to Trello card

https://trello.com/c/5DfQw9oj/246-check-qualifications-api-client-code-for-dependencies-on-nullable-fields

Checklist

  • Attach to Trello card
  • Rebased main
  • Cleaned commit history
  • Tested by running locally

@malcolmbaig malcolmbaig marked this pull request as ready for review November 22, 2023 10:01
@malcolmbaig malcolmbaig enabled auto-merge (rebase) November 22, 2023 10:01
@malcolmbaig malcolmbaig merged commit 78496ba into main Nov 22, 2023
12 checks passed
@malcolmbaig malcolmbaig deleted the mb-bugfix-induction-summary-nil-data branch November 22, 2023 10:02
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.

2 participants