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

Show error messages in login an register forms when server return error 500 #263

Open
acacha opened this issue May 18, 2017 · 6 comments
Open
Assignees

Comments

@acacha
Copy link
Collaborator

acacha commented May 18, 2017

Now only console errors are shown and sigin/Register buttons get freezed/disabled.

@acacha acacha self-assigned this May 18, 2017
@acacha
Copy link
Collaborator Author

acacha commented May 18, 2017

For example it happens when miggrations are not executed so no users table is available!

@grey4eg
Copy link

grey4eg commented May 24, 2017

Why register form return error 500?
migation was executed and users table is exist/
SQL SERVER

@MarkGrenville
Copy link

I'm also having a problem when submitting the registration form I get error 500 in the console.

@acacha
Copy link
Collaborator Author

acacha commented Jun 12, 2017

@MarkGrenville @grey4eg please provide no only the error number also the error description you could find in console also

@fedeverdi
Copy link
Contributor

In my case was an acacha/forms error in erros response object.
I received an 422 (Unprocessable Entity) when I did a mistake with credentials and my interface froze.
But nothing 500.

I temporarily fixed it changing line 267 in node_modules/acacha-forms/Forms.js of submit method.
From:
_this.onFail(error.response.data);

to
_this.onFail(error.response.data.errors);

@sornanun
Copy link

sornanun commented Aug 8, 2018

I have same problem.
image : https://www.picz.in.th/image/BqlSmu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants