Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Fix sporadical errors when contacts do not have a valid email address #172

Merged
merged 2 commits into from
Feb 17, 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 Patient, Doctor and other types that inherit from Person content type. This leads to sporadic errors in views or templates that expect valid email address format.

Merge senaite/senaite.core#1542 first

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.

@xispa xispa added the bug label Feb 14, 2020
@ramonski ramonski merged commit d2cc3fa into master Feb 17, 2020
@ramonski ramonski deleted the email-address branch February 17, 2020 08:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants