7

It looks like Getting 404 when closing a deleted question has resurfaced.

I don't have any screenshots, but the general steps to reproduce would appear to be:

  1. Open a question.
  2. Have someone else delete said question (or do it yourself from another session).
  3. Click "close" below the question.

At this point, you get a red "404" error box, as shown in this screenshot borrowed from the above-linked question:

404 error

The chain of duplicates on the above-linked question ends at Users without commenting privilege can't select the “it doesn't belong here” flag reason; a “404” error box appears when they try, which is . However, the fact that I got this same error about two months later would seem to indicate either a larger issue, that the questions indeed were not duplicates, or a regression.

Either way, I believe a developer should take a look at this.

1 Answer 1

7

Fixed in next release (2013.11.12.1146). Until now we simply returned a 404 error if either the question was not found or the action was not allowed. Now you'll be getting a more descriptive error message when you run into the action not allowed scenario.

enter image description here

5
  • I'm not entirely sure that "action not allowed" covers "question has been deleted"? If it does, good job for fixing it so quickly :)
    – user
    Commented Nov 12, 2013 at 9:18
  • 1
    well, if the question is already deleted (or locked) you are not allowed to delete it (again).
    – m0sa Mod
    Commented Nov 12, 2013 at 9:19
  • Good point. I'll have to see if someone can help verify this once that release goes live.
    – user
    Commented Nov 12, 2013 at 9:22
  • @MichaelKjörling yep, just got "This question is now deleted" when trying to close a deleted (non closed) question. Screenshot. Commented Nov 12, 2013 at 10:49
  • @ShaWizDowArd Looks great!
    – user
    Commented Nov 12, 2013 at 10:58

You must log in to answer this question.

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