What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

On SO, if you submit a comment on an answer but the answer has been deleted in the meantime then you get an error along the lines of:

You may only submit one comment every 15 seconds; resetting timer

rather than notification that the answer has been deleted from underneath you. Or at least I do - maybe 10Ks can still comment on deleted posts?

I've seen this two or three times now. This may be this issue.


Thanks to Jon Seigel and Nick Craver for trying to reproduce - sorry it didn't work :-/ My exact observations were

  1. I try to write a comment on an answer (that I think is wrong)
  2. I get the error above when I submit the comment
  3. I refresh the page to try again and the answer is gone

I didn't think about reporting it on meta until later so I'd lost the exact details and didn't grab a screenshot. I'll keep an eye out for this and come back if I get this again. (Or if I can convince my colleague to lend me his SO account I'll have a go reproducing myself over lunch.)


OK, happened again today: I tried to comment on an answer to this question which I thought was wrong but by the time I submitted the comment the answer had been deleted:

Only 1 comment allowed per 15 seconds; timer reset

Firefox 4.0b10 in case that matters.

share|improve this question
    
No repro. On my testing question, I undeleted it so I could comment; in a separate window I had another copy of it open; I re-deleted it in one window, tried to comment in the other. I got "Cannot add comments to this post; it may be locked or deleted." –  Jon Seigel Oct 5 '10 at 21:49
    
I tried this on both a question and an answer, and got the same result. –  Jon Seigel Oct 5 '10 at 21:55
    
@Jon - If you delete your own comment, then try to vote on another you'll get the same error, since the cascading delete vote (from the parent answer?) seems to trigger the same timer...not sure of the implementation details, just the UI result. –  Nick Craver Oct 6 '10 at 0:35
    
@Nick: Okay. What is the consistent set of repro steps so I can try it? –  Jon Seigel Oct 6 '10 at 1:03
    
@Jon - Not sure since you're not in control of deleting another's answer, delete one comment and try to vote up another in quick succession for the same effect/message though....potentially a separate issue, but same "wrong-ish message" problem. –  Nick Craver Oct 6 '10 at 1:05
    
@Nick: meta.stackexchange.com/questions/59398/… -- start adding a comment to the answer in there, then tell me here when you're ready for me to delete the answer. –  Jon Seigel Oct 6 '10 at 1:08
    
@Jon - k, go... –  Nick Craver Oct 6 '10 at 1:12
    
@Nick: Okay, it's deleted. Try now. –  Jon Seigel Oct 6 '10 at 1:13
1  
@Jon - imgur.com/YhR1L.png The first error message is correct, "Cannot add comments to this post; it may be locked or deleted"...after that it's showing the timer message unless you idle for 15sec, then back to the "Cannot add comments to this post; it may be locked or deleted". –  Nick Craver Oct 6 '10 at 1:18
    
@Nick: Thanks for testing... I'm not sure the behaviour you observed is incorrect, though. Certainly, I don't think it's worth fixing/changing. –  Jon Seigel Oct 6 '10 at 1:25
    
@Jon - Oh I agree, very minor either way, and glad the question's titled as such, just trying to leave some context of how to repro :) –  Nick Craver Oct 6 '10 at 1:27
    
@Jon @Nick - thanks for trying to repro, sorry it didn't work :-/ I was sure that must have been it. –  Rup Oct 6 '10 at 7:13
2  
Sorry for a little bit of necro, but I ran into this today as well. I'd maybe suggest trying repro again? Not sure what the best way to do it is, though. –  Daniel DiPaolo Jan 3 '11 at 16:12
1  
I was able to repro again, and started posting a new question and found this (again), forgetting that I had already commented on this. Never got the "it may be locked or deleted" portion. –  Daniel DiPaolo Apr 22 '11 at 16:13
    
This just happened to me here on Meta. I had no prior knowledge of this bug report (or had forgotten). I was attempting to comment on an answer under this post when the question was deleted, if it helps/matters. –  Pops Sep 27 '11 at 19:36

2 Answers 2

Reproduced: oh noes

  1. Wrote the "Posting a test answer" answer and posted it. Redirected back to question page.
  2. Duplicated the tab to have two tabs with that question and the original answer in it.
  3. In tab 1, deleted the question.
  4. In tab 2, wrote the comment seen above and clicked "Add Comment" and got this warning.
share|improve this answer

This happens when you repeatedly try to add a comment within 15 seconds, the actual error you first receive is:

Cannot add comments to this post; it may be locked or deleted

This is the behavior we want to prevent comment spam, the first message being an immediate indicator as to what has happened is correct.

share|improve this answer
    
No that is not the actual error I first receive. YOU also had a repro of this as well which was deleted (and I assume you as a ♦ see). –  Daniel DiPaolo Apr 22 '11 at 23:50
1  
@Daniel - I can repro this reliably...but not as the first error, I don't see how you could trip that unless you actually tried (or successfully) posted another comment within 15 seconds. –  Nick Craver Apr 23 '11 at 0:04
1  
@Daniel - Following your steps above exactly: I get the correct error. Also, the repro YOU had said "Comments must be at least 15 character in length." image link here...he did not repro the error we're talking about, and I assume that's why he self-deleted the answer. –  Nick Craver Apr 23 '11 at 0:15
    
I do see this on my Win7 box running chrome, but was getting the other one consistently on a WinXP box running chrome –  Daniel DiPaolo Apr 23 '11 at 0:18
    
@Daniel - It's a sliding expiration, are you sure you were waiting a full 15 seconds between testing? The way this works really isn't complicated (the way the code works), so I can't fathom how you'd possibly be hitting this, unless some user script was misbehaving and hitting things it shouldn't. –  Nick Craver Apr 23 '11 at 0:26

You must log in to answer this question.

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