-11

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

  • 15
    not really a bug just lack of a conditional statement for grammar - i dont think anyone minds too much – Graham Ritchie Feb 1 '14 at 15:22
  • 21
    [status-too-minor-to-care] – Doorknob Feb 1 '14 at 15:25
  • 6
    "Coming to Discovery Channel this spring: Man vs. Doorknob" – Bart Feb 1 '14 at 15:26
  • 10
    Obligatory: twitter.com/codinghorror/status/1165936105 – Bill the Lizard Feb 1 '14 at 15:50
  • 11
    "Answers" is the correct word to use here. It's being used in the sense of "one or more answers." – Robert Harvey Feb 1 '14 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 ." – Mhmd Feb 1 '14 at 16:41
  • 1
    Um, can things really be made a bit more worse? – Leeor Feb 1 '14 at 16:43
  • 1
    Wait, why did you change your question...? – Arjan Feb 1 '14 at 17:28
  • 3
    @Arjan: It's a bug: meta.stackexchange.com/questions/218315/… – ProgramFOX Feb 1 '14 at 17:28
  • 1
    Easiest fix - Answer(s) – Ashley Medway Feb 1 '14 at 17:34
  • @Ashley No it would read: this question has answer – Mhmd Feb 1 '14 at 17:57
12

Suggested solution:

 if(Request.Cookies["userID"]="The Wobbuffet")
       throw new FaultException("Sorry, this question has ONE SINGLE Answer.");
 else
       throw new NormalException();
  • 3
    The whole world must share this solution, I am none but thou unhappiest :( – Cilan Feb 1 '14 at 16:32
  • 3
    ...you mean: "ONE SINGLE post the MIGHT be an answer?" – Arjan Feb 1 '14 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.

  • 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 Feb 1 '14 at 19:26
  • @Aaron how does the current wording imply that the question has an answer with positive score? It just says has answers. – Mhmd Feb 1 '14 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 Feb 1 '14 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
    ...which was already mentioned in the question? – Arjan Feb 1 '14 at 17:21
  • @Arjan when I started writing this, it wasn't in the question. – scrblnrd3 Feb 1 '14 at 17:24
  • 1
    Those were 15 minutes well spent then ;-) – Arjan Feb 1 '14 at 17:26
  • I started writing it, then got sidetracked. I can delete it if you want – scrblnrd3 Feb 1 '14 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 Feb 1 '14 at 17:30

You must log in to answer this question.

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