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

Invalid field format #660

Closed
saulipurhonen opened this issue Feb 4, 2022 · 0 comments · Fixed by #661
Closed

Invalid field format #660

saulipurhonen opened this issue Feb 4, 2022 · 0 comments · Fixed by #661
Assignees
Labels
bug Something isn't working
Milestone

Comments

@saulipurhonen
Copy link
Contributor

Describe the bug

Problem happens at least with XRef Database ID field.
Form submit encounters a 400 http error when submitting form with input value format different to field type in schema.

To Reproduce

Steps to reproduce the behaviour:

  1. Fill a study form and add XRef link item
  2. Fill Database name as string but fill Database ID as number
  3. Submit form
  4. See error

Expected behavior

Form should either parse field by type declared in schema or notify user that the format is wrong.

Screenshots

2022-02-04.07-56-12.mp4
@saulipurhonen saulipurhonen added the bug Something isn't working label Feb 4, 2022
@saulipurhonen saulipurhonen added this to the Open Beta milestone Feb 4, 2022
@saulipurhonen saulipurhonen self-assigned this Feb 4, 2022
@saulipurhonen saulipurhonen linked a pull request Feb 8, 2022 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants