8

This question is an exact duplicate of:

I flagged a spam post. I also wanted to close-vote. But the post was deleted in the meantime by Community♦.

Always when hitting the close button I got a 404 error message:

404 error

marked as duplicate by kiamlaluno, hims056, Martijn Pieters, Danubian Sailor, Shadow Aug 5 '13 at 10:58

This question was marked as an exact duplicate of an existing question.

  • 2
    Yes, the error message should be more descriptive, to let you understand what happened. In the specific case, it doesn't make sense to vote to close the question since it was spam; in such a case, you flag it as spam and wait it gets deleted. The same situation could happen when somebody ask a legitim question that needs to be closed, and you vote to close it right after the OP deleted it, though. In this case, it is worth fixing the error message. – kiamlaluno Aug 5 '13 at 9:18
  • Probably duplicate: 404 error during flagging a question. – hims056 Aug 5 '13 at 9:19
  • 1
    @kiamlaluno: It is always worth fixing error messages. – juergen d Aug 5 '13 at 9:26
  • @kiamlaluno I would always still vote to close after flagging spam; the delete option could become available prior to a moderator intervening (not to mention early removal of the potential for that there-is-always-one-who-will-answer answer), hence a quicker turnaround is declining visibility. – Grant Thomas Aug 5 '13 at 10:46
  • @GrantThomas It is pretty useless to vote to close a spam question, since in most of the cases it gets deleted before getting closed. Answering a spam question doesn't make any harm; it bumps the question on the front page, if all, and that just has the effect of making it more visible to get flagged as spam. – kiamlaluno Aug 5 '13 at 11:01
  • 1
    Six spam flags and a post is automatically deleted. So it seems unlikely that the question will get closed (5 votes) and then deleted (3 votes) before it gets automatically removed as spam. @grant – Cody Gray Aug 5 '13 at 11:24
  • 1
    All that aside - we get an ugly error when trying to close a deleted post :) – juergen d Aug 5 '13 at 11:28