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

If a conflict prevents saving, error shows "[object object]" #1301

Closed
sleidig opened this issue May 30, 2022 · 0 comments
Closed

If a conflict prevents saving, error shows "[object object]" #1301

sleidig opened this issue May 30, 2022 · 0 comments

Comments

@sleidig
Copy link
Member

sleidig commented May 30, 2022

Describe the bug
If a conflict occurs, error shown to user is not readable or understandable

To Reproduce
Steps to reproduce the behavior:

  1. Open a synced instance (e.g. dev.aam-digital.com) in two different browsers
  2. Open the same child's details page in both windows and click Edit in both
  3. change the name in both windows
  4. click "save" in the first window - it will save successfully
  5. click "save" in the second window - it will fail, showing an alert with a cryptic message

image

Expected behavior
Give a readable error message in language a normal user can understand.
Give guidance on what the user can do to fix the problem (reload the page and try again?).

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

No branches or pull requests

1 participant