greenpress icon indicating copy to clipboard operation
greenpress copied to clipboard

[admin] [ Bug ] When submitting a new post, if there are errors, display them on the screen.

Open dmaizel opened this issue 4 years ago • 6 comments

Currently, when creating a new post, if you submit and get a 400 response code from the server, with attached errors, they are not displayed to the user to see what he did wrong.

dmaizel avatar Oct 02 '20 07:10 dmaizel

So currently it shows success even though the post failed to be saved?

davidmeirlevy avatar Oct 02 '20 18:10 davidmeirlevy

No. what I meant is that there is no feedback to the user when he makes a mistake and provides an invalid value or no value at all to a certain field inside the form.

dmaizel avatar Oct 03 '20 11:10 dmaizel

before submitting, right?

davidmeirlevy avatar Oct 03 '20 11:10 davidmeirlevy

Both before and after submitting.

dmaizel avatar Oct 03 '20 11:10 dmaizel

I tried to reproduce the bug but did get an error message.

what I did: created a new post then tried to create another post in the same path as the previous one and did get an error message (maybe the error should be more informative? for example the reason why it failed?)

benlaniado avatar Oct 09 '20 08:10 benlaniado

@benlaniado it should too.

davidmeirlevy avatar Oct 09 '20 11:10 davidmeirlevy