-12

I found in interesting bug today, I tried to delete one of my questions and it said 'sorry, this question has answers and cannot be deleted'. But, in fact, it only had one answer...

Bug Photo

11
  • 15
    not really a bug just lack of a conditional statement for grammar - i dont think anyone minds too much Commented Feb 1, 2014 at 15:22
  • 21
    [status-too-minor-to-care]
    – Doorknob
    Commented Feb 1, 2014 at 15:25
  • 6
    "Coming to Discovery Channel this spring: Man vs. Doorknob"
    – Bart
    Commented Feb 1, 2014 at 15:26
  • 10
    Obligatory: twitter.com/codinghorror/status/1165936105 Commented Feb 1, 2014 at 15:50
  • 11
    "Answers" is the correct word to use here. It's being used in the sense of "one or more answers."
    – user102937
    Commented Feb 1, 2014 at 16:20
  • I've seen such a 'bug' when a question is a duplicate: "This question already have an answer here [link to question] ...... 1 answers ."
    – Mohammad
    Commented Feb 1, 2014 at 16:41
  • 1
    Um, can things really be made a bit more worse?
    – Leeor
    Commented Feb 1, 2014 at 16:43
  • 1
    Wait, why did you change your question...?
    – Arjan
    Commented Feb 1, 2014 at 17:28
  • 3
    @Arjan: It's a bug: meta.stackexchange.com/questions/218315/…
    – ProgramFOX
    Commented Feb 1, 2014 at 17:28
  • 1
    Easiest fix - Answer(s) Commented Feb 1, 2014 at 17:34
  • @Ashley No it would read: this question has answer
    – Mohammad
    Commented Feb 1, 2014 at 17:57

3 Answers 3

12

Suggested solution:

 if(Request.Cookies["userID"]="The Wobbuffet")
       throw new FaultException("Sorry, this question has ONE SINGLE Answer.");
 else
       throw new NormalException();
2
  • 3
    The whole world must share this solution, I am none but thou unhappiest :(
    – Cilan
    Commented Feb 1, 2014 at 16:32
  • 3
    ...you mean: "ONE SINGLE post the MIGHT be an answer?"
    – Arjan
    Commented Feb 1, 2014 at 17:22
11

I would prefer if the whole text was changed to:

Sorry, this question has been answered and can not be deleted.

3
  • 1
    "has been answered" implies, to me, that it has an accepted answer. Also isn't it true that a question is only blocked from being deleted if it has at least one answer with a positive score? Personally, I think the current wording is just fine. If the grammar police can't figure out that "answers" actually means "one or more answers", shrug.
    – Aaron Bertrand Staff
    Commented Feb 1, 2014 at 19:26
  • @Aaron how does the current wording imply that the question has an answer with positive score? It just says has answers.
    – Mohammad
    Commented Feb 1, 2014 at 19:43
  • I understand that. I'm not saying that your suggestion changes that, just that it also doesn't reflect the whole truth (and also note I said "Isn't it true?" - I don't even remember if that's the rule).
    – Aaron Bertrand Staff
    Commented Feb 1, 2014 at 19:50
3

Not quite the same plural bug as ones before, but obligatory @CodingHorror status

Dear Next Person Who Opens a Pluralization 'Bug', I will personally come to your house and bludgeon you to death with a giant S

I suppose this could be fixed, but it seems rather unnecessary, even though it's a simple fix. Perhaps it would be better if it said "This question has one answers and cannot be deleted"

5
  • 5
    ...which was already mentioned in the question?
    – Arjan
    Commented Feb 1, 2014 at 17:21
  • @Arjan when I started writing this, it wasn't in the question.
    – scrblnrd3
    Commented Feb 1, 2014 at 17:24
  • 1
    Those were 15 minutes well spent then ;-)
    – Arjan
    Commented Feb 1, 2014 at 17:26
  • I started writing it, then got sidetracked. I can delete it if you want
    – scrblnrd3
    Commented Feb 1, 2014 at 17:27
  • No worries, though the same reference was also already made in a comment, your "it seems rather unnecessary" is certainly true. (And for some reason the whole question just changed, but I guess that was an error... What a mess.)
    – Arjan
    Commented Feb 1, 2014 at 17:30

You must log in to answer this question.

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