Topic: [Bug] Unable to modify or revert the notes field for artist entries to an empty/blank value

Posted under Site Bug Reports & Feature Requests

Bug overview description.
Editing an artist entry's notes to be blank or contain only whitespace or reverting said entry to a previous version where the notes were blank results in no changes being committed to said field. Context: I mistakenly used the notes field as if it were an edit description field for this artist. As the field previously contained nothing, I've attempted to restore it to that state without avail.

What part(s) of the site or page(s) are affected?
Artist entries (e621.net/artists). Other parts of the site may be affected as well, but I'm definitely not in a position to check.

What is the expected behavior?

  • When reverting an artist entry to a previous version where the notes field was empty, the notes field is restored to that empty state.
  • When editing an artist entry's notes to be empty or contain only whitespace, the notes field is made empty (and, preferably, the user is asked to confirm what they're doing).

What actual behavior is given instead?

  • Reverting an artist entry to a previous version in its edit history where the notes field was empty/blank results in all fields except for the notes field being reverted successfully.
  • Editing the artist entry's notes to be blank or contain only whitespace results in no changes being committed to said field.

Time of incident (if applicable).
First occurrence was on 2023-08-31 at 21:27 CST.

Can you reproduce the bug every time?
Yes. It's likely that this affects other artist entries as well, but I can't confirm as I don't want to risk further (unintended) vandalisation.

What steps did you take to replicate this bug?

  • Editing the notes field to be empty.
  • Editing the notes field to contain a space character.
  • Reverting the artist entry to a previous version where the notes were empty.

Errors or other messages returned (if any).
Nothing out of the ordinary is reported by the site (either within the browser window or through the developer console).

Edit:
I could be wrong, but I might've sniffed out the reason why this is happening. It looks like the notes field for an artist entry is tied directly to the body field for a wiki entry that corresponds to the same artist, should one exist; if one doesn't, then submitting text into a previously-empty notes field results in the automatic creation of a corresponding wiki entry for the artist... and because the two fields are tied to one another, the fact that a body of a wiki entry isn't allowed to be empty comes into play.

Updated

I just had a different issue relating to the wiki and artist-entry being tied to each-other.
I went to add the FA url/link to jhelisajhyena's entry but it only took me to the wiki-entry when I clicked the '?' icon beside their tag while on a post tagged with it.
So I added that to the only available text-field there and tried to find the srtist-entry to no avail, until...
I clicked on the '?' beside their tag while in the posts-overview page and that took me to the 'no artist-entry exists, do you want to create one?' page.
Is there a reason why artists have both an artist-entry and a wiki-entry? Seems just the former would be fine.

alphamule

Privileged

lurkinglupinoyd said:
I just had a different issue relating to the wiki and artist-entry being tied to each-other.
I went to add the FA url/link to jhelisajhyena's entry but it only took me to the wiki-entry when I clicked the '?' icon beside their tag while on a post tagged with it.
So I added that to the only available text-field there and tried to find the srtist-entry to no avail, until...
I clicked on the '?' beside their tag while in the posts-overview page and that took me to the 'no artist-entry exists, do you want to create one?' page.
Is there a reason why artists have both an artist-entry and a wiki-entry? Seems just the former would be fine.

There's slightly different functionality, there. Although it seems counterintuitive that the difference isn't just automatically inserted at end of the Wiki entry when creating it or something. Kind of like when you had a BUR to a thread, it defaults to inserting a link at the top of your next post to the BUR. I assume those work under the hood much like post# and thumb# links.

  • 1