Closed wellemut closed 1 year ago
@wellemut the backend dev server is not updated and does not return the error message. even though if it's updated, it only returns CORS error, not the actual cause. I was not able to reproduce the issue therefore I did not develop this feature.
Here it works.
I get a specific error messages from the dev backend...
Feedback:
User Story: As a user, I want to know why, if something does not work as expected
Problem
The strict Backend Validation often prevents the user to save an entry, and sends and answer to the post request.
But the error message is only shown via API, so user would have to open dev tools of the browser.
Such a message is better than nothing but much too general But the backend is sending a better respons https://github.com/kartevonmorgen/kartevonmorgen/issues/661
Solution
[x] Whatever the backend send a answer to the post-request, please show it to the user as popup in the frontend Good example is this popup
[x] Mailadress is wrong (contains ä) (is not validated in frontend)
[x] Webadress is wrong (less possible, because its validated in entry formular)
[ ] missing location
Technical solutions: