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

The user is navigated to the next page even if backend responds with error #4857

Closed
sainak opened this issue Feb 21, 2023 · 1 comment · Fixed by #4896
Closed

The user is navigated to the next page even if backend responds with error #4857

sainak opened this issue Feb 21, 2023 · 1 comment · Fixed by #4896
Assignees

Comments

@sainak
Copy link
Member

sainak commented Feb 21, 2023

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Open a facility configure page
  2. Enter an invalid middleware address
  3. click update

Expected behavior
The user should have been held on the page

Screenshots

Screencast.from.2023-02-21.11-57-48.webm
@Ashesh3 Ashesh3 self-assigned this Feb 21, 2023
@sainak
Copy link
Member Author

sainak commented Feb 21, 2023

This can be validated on the frontend itself the regex is ^(?!https?:\/\/)[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*\.[a-zA-Z]{2,}$

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