Topic: [Bug] New Artist page: Wonky error message when missing the name field

Posted under Site Bug Reports & Feature Requests

Bug overview description.

When attempting to add an artist but not filling in the name field, the error message that is returned looks buggy.

What part(s) of the site page(s) are affected?

https://e621.net/artists/new

What is the expected behavior?

I expected the error message in the top banner to read:
Error: Name cannot be blank

I expected the error message beneath the text box to read:
Name cannot be blank

What actual behavior is given instead?

The error message in the top banner reads:
Error: Name " cannot be blank, Name has already been taken

The error message beneath the text box reads:
" cannot be blank

Screenshot of the error: https://i.ibb.co/6nRXHGD/Capture.png

Time of incident (if applicable).

10:30PM EST, July 28, 2022.

Can you reproduce the bug every time?

Yes.

What steps did you take to replicate this bug?

1) Navigate to https://e621.net/forum_topics/new by clicking "Artists", then "New".
2) Click "Submit".

Errors or other messages returned (if any).

See actual behavior section.

There actually exists an artist with the empty string as it's name, so this is technically correct. I'm not sure about the other error message, I don't think it displays like this on other pages? It might have something to do with the input being a textarea, which it shouldn't be. It's supposed to be a normal 1-line text input.

Anyways, the way these error messages are generated is pretty wonky overall, and I think unless they are flat out wrong I don't want to do something about it.

  • 1