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

Updating donor profile results in email error #1131

Closed
kevinwhoffman opened this issue Oct 18, 2016 · 3 comments · Fixed by #6509
Closed

Updating donor profile results in email error #1131

kevinwhoffman opened this issue Oct 18, 2016 · 3 comments · Fixed by #6509
Assignees
Milestone

Comments

@kevinwhoffman
Copy link
Contributor

kevinwhoffman commented Oct 18, 2016

Issue Overview

The following error seems to prevent any type of update to donor info from the donor profile screen.

Attempting to edit donor information using the Edit Donor button results in a server-side error upon submission: Error: Please enter a valid email address.

I thought that possibly the email field farther down the page was triggering the error, but entering a valid email in that field still results in the same error. This error occurs when attempting to edit registered and unregistered donors.

Expected Behavior

User should be able to update donor info from donor profile screen.

Current Behavior

Clicking Update Donor results in an error that references a valid email address. User is left confused because an email field is not part of the form they are updating.

Possible Solution

Investigate server-side validation to remove the condition causing the error.

Steps to Reproduce (for bugs)

  1. Make a donation with address fields.
  2. View donor profile.
  3. Click Edit Donor button at top of profile.
  4. Change address fields.
  5. Click Update Donor
  6. Error appears: Error: Please enter a valid email address.

The same error occurs for unregistered users that only have a User ID field to edit.

Screenshots

Error when attempting to update regisered user's address.

image

Error when attempting to update unregisered user's name.

image

Context

Discovered while investigating address fields for #1112.

Your Environment

  • Give version used: 1.7
  • Browser Name and version: Chrome 53.0.2785.143 (64-bit)
  • Operating System and version (desktop or mobile): OS X Yosemite 10.10.5
@DevinWalker
Copy link
Member

Interesting. I think this may be a bug related to #999

@kevinwhoffman
Copy link
Contributor Author

I confirmed this is only an issue in Give 1.7+ related to Donor Email functionality.

1.6.3

Email field exists at the top of the form.

image

1.7

Email field has been moved from the top form to its own meta box.

image

I believe the form validation is still looking for that Email field that is no longer part of the top form.

@DevinWalker DevinWalker modified the milestones: 1.7, 1.6.3 Oct 19, 2016
@kevinwhoffman kevinwhoffman mentioned this issue Oct 19, 2016
3 tasks
@DevinWalker
Copy link
Member

👏 All fixed 🎉

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 a pull request may close this issue.

2 participants