greenpress
greenpress copied to clipboard
[admin] [ Bug ] When submitting a new post, if there are errors, display them on the screen.
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.
So currently it shows success even though the post failed to be saved?
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.
before submitting, right?
Both before and after submitting.
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 it should too.