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 sporadical errors when contacts do not have a valid email address #1542

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

xispa
Copy link
Member

@xispa xispa commented Feb 14, 2020

Description of the issue/feature this PR addresses

User can set invalid email addresses for Contact, LabContact and other types that inherit from Person content type. This leads to sporadic errors in views or templates that expect valid email address format.

Current behavior before PR

User can assign invalid email addresses in "Email address" field from contacts

Desired behavior after PR is merged

User cannot assign invalid email addresses in "Email address" field from contacts

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@ramonski ramonski merged commit 24bfd0d into master Feb 14, 2020
@ramonski ramonski deleted the email-address branch February 14, 2020 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants