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

Ensure consent refused can be given without notes #2488

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

thomasleese
Copy link
Contributor

When refusing consent for personal reasons, we don't require notes to be provided, but this causes a validation error when trying to save the consent as we require this field to be not null. Instead we should save this as a blank string.

When refusing consent for personal reasons, we don't require notes to be
provided, but this causes a validation error when trying to save the
consent as we require this field to be `not null`. Instead we should
save this as a blank string.
Copy link

sonarcloud bot commented Nov 18, 2024

@tvararu tvararu temporarily deployed to mavis-pr-2488 November 18, 2024 13:38 Inactive
@thomasleese thomasleese merged commit d96a48f into main Nov 18, 2024
12 checks passed
@thomasleese thomasleese deleted the ensure-consent-notes-not-nil branch November 18, 2024 14:32
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