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

not all registration validation errors show up together #1444

Open
xuwhite opened this issue Nov 1, 2024 · 0 comments
Open

not all registration validation errors show up together #1444

xuwhite opened this issue Nov 1, 2024 · 0 comments
Assignees
Labels
Type: Bug(fix) A bug or a fix for a bug.

Comments

@xuwhite
Copy link
Collaborator

xuwhite commented Nov 1, 2024

validateUniqueUsername(), validateUniqueEmail() are called after input validations and each other, so not all validation errors are shown together

steps to reproduce:

  • go to /register
  • enter a nick and e-mail that's already taken
  • leave one required input empty
  • submit with register button

expected behaviour

  • all validation errors ("nick not unique", "e-mail not unique", "required input empty") are shown together

real behaviour

  • only "required input empty" validation error is shown
  • after entering the missing input and submitting with "register" button only "nick not unique" validation error is shown
  • finally after changing the nick to a unique nick, "e-mail not unique" validation error is shown
@xuwhite xuwhite added the Type: Bug(fix) A bug or a fix for a bug. label Nov 1, 2024
@xuwhite xuwhite changed the title not all registration validation errors don't show up together not all registration validation errors show up together Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug(fix) A bug or a fix for a bug.
Projects
None yet
Development

No branches or pull requests

2 participants