2
\$\begingroup\$

I typed a response to a question into the answer field by mistake instead of a comment. I then clicked "delete" on the answer and it told me something like "thanks for voting to delete". But then when I refreshed the page, it was apparently (????) actually deleted.

Deleting your own answer should happen right away and the feedback should be clear (e.g. "your question has been deleted").

Edit

OK, it looks like what I saw earlier doesn't happen any more, but there's still a very similar bug present. Here is a specific reproduction recipe. I tested it just now on this very question in meta. This is with Chrome on Mac OS X.

Steps to reproduce

  1. Go to a question.
  2. Click yes to "are you sure you want to answer your own question" dialog (if needed).
  3. Type "test 2 - I am going to delete this" into answer field.
  4. Click "Post Your Answer".
  5. Answer appears under question.
  6. Click "delete" link for answer.

Actual behavior

  1. Dialog reading "Vote to delete this post?" appears.
  2. Click OK.
  3. Post changes to deleted color and styling, etc.

Expected behavior

  1. Dialog reading "Really delete your answer?" (or something) appears.
  2. Click OK.
  3. Post changes to deleted color and styling, etc.

P.S.

It is kind of lame that I can't remove the tag status-completed.

\$\endgroup\$
2
  • \$\begingroup\$ This happens across the stackexchange sites, by the way. There's probably another report on this somewhere. \$\endgroup\$
    – mattdm
    Jan 10, 2011 at 20:25
  • \$\begingroup\$ Just happened to me this morning. Only in my case, I noticed that while typing the answer, so I cut-pasted the text to a new comment field. To my surprise, once the page was refreshed (I got out and in again), I see the original text still hanging in the answer input box... I had to approve the answer and then delete it. \$\endgroup\$
    – ysap
    Jan 25, 2011 at 15:22

2 Answers 2

1
\$\begingroup\$

What happens is that it is deleted from everyone but your view, in case you want to undelete it shortly thereafter. I think that's the right way to do it, in case deleting was a mistake or your account was hacked or something like that. I clicked on your question, and I don't see your answer at all.

\$\endgroup\$
1
  • \$\begingroup\$ That's fine, but the feedback text needs to match what actually happens. \$\endgroup\$
    – Reid
    Jan 15, 2011 at 0:02
0
\$\begingroup\$

There were some css styles associated with direct answer links that prevented the deletion styles from showing up. These have been simplified, so immediate answer deletions can better be seen.

As for the message you saw, I'm not able to reproduce - if you see it again, please let me know with the actions you took before deleting.

\$\endgroup\$
1
  • \$\begingroup\$ It's still awkwardly worded. I will edit the answer. \$\endgroup\$
    – Reid
    Jan 27, 2011 at 23:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .