Getting around message requirement on custom flags

AI-generated summary

A bug was reported where submitting a message via the Flag Post UI, followed by reopening the UI to submit a Custom Flag, causes the original message text to be pre-filled. This results in staff receiving custom flags without the expected message chain, making it difficult to understand the context anon25879736. accalia attempted to reproduce the issue in a separate thread. codinghorror confirmed this is a bug and asked neil to address it. neil subsequently fixed the issue by resetting the form after the first flag is successfully submitted, ensuring the message is not pre-filled for subsequent flags.

Today we got a custom flag that had no associated message. After conversing with the user who created the flag, the repro steps were something like this:

  1. Send a Message to the author of a post via the Flag Post UI.
  2. Reopen the Flag Post UI to submit a Custom Flag for the same post.
  3. Note that the text from the Message is still there. Since you want to send the same text in the Custom Flag, submit as-is.
  4. Think all is well with the world until a staff member sends you a message asking what your custom flag without a message is all about.

Because no message chain is created, no communications can be tied to the flag directly.

8 curtidas

attempt at a reproduction. Awaiting confirmation that it actually reproduced the issue: I have now received confirmation in bnelow linked thread.

1 curtida

Didn’t have to wait long. :wink:

1 curtida

Yeah this is a bug, @neil can you add to your list next week.

1 curtida

I fixed. The fix is just to reset the form after the first flag is successfully submitted. It wasn’t intended that the same message would be pre-filled for next flag.

4 curtidas