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

An exception occur if a phone or fax number is added in people form (create and edit) #318

Open
Yann-BUTSCHER-EIRL opened this issue Apr 6, 2023 · 1 comment
Assignees
Labels
Bug Something isn't working as it should be

Comments

@Yann-BUTSCHER-EIRL
Copy link
Collaborator

Scenario

  • log in as admin
  • got to people create or edit page
  • enter a phone number
  • submit the form

Expected behavior

The form should be submitted and the data saved.

Current behavior

An error 500 occurs: The input given is not a phone number, only numbers allowed

@Yann-BUTSCHER-EIRL Yann-BUTSCHER-EIRL added the Bug Something isn't working as it should be label Apr 6, 2023
@Yann-BUTSCHER-EIRL
Copy link
Collaborator Author

After investigation this error is due to the input mask for phone numbers that add spaces between numbers.

The better approach would be to rework the people form entirely (see #319) but for now we'll just removed all spaces when saving the people info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should be
Projects
None yet
Development

No branches or pull requests

3 participants