30

Moderators used to be able to comment on deleted or locked posts. However I've just noticed I am unable to add a comment to a deleted question on Meta Stack Overflow, as the "add comment" link is disabled (but still visible).

Is this an intentional change, or is it a bug?

I've double-checked that I'm still logged in, and disabled all userscripts.

I'm running Chrome 76 on Windows 10.

enter image description here

  • 1
    This happens to me on mobile brave browser as well in “request desktop site” mode. – George Stocker Sep 11 '19 at 23:59
  • 19
    Not an intentional change. We were doing some work in that area and it sounds like I screwed up permission checks after all. Apologies for the inconvenience, will fix tomorrow morning. – Adam Lear Sep 12 '19 at 0:27
  • 6
    In case this helps: a few minutes ago I deleted a post and then left a comment, without the intervening page load. After navigating away and then returning to the page later, I see what Samuel sees. I know you don't refresh everything "inline" with a deletion; I'm only mentioning this to report that the comment did go through at the server, so whatever it is seems to be entirely client-side (if I understand correctly). – Monica Cellio Sep 12 '19 at 2:14
  • 7
    You're spot-on Monica! I edited the class on the link to "js-add-link comments-link" and it allowed me to add a comment to the deleted post – Samuel Liew Sep 12 '19 at 2:38
  • 3
    @SamuelLiew I love how you can just do that. It feels like cheating... – user474678 Sep 12 '19 at 11:07
18

According to SO developer Adam Lear (ref), this was not an intentional change. The devs were doing some work in that area which introduced an error in permission checks. Apologies for the inconvenience; this should be fixed shortly.

  • 1
    Hrm. I can't add a comment to a rejected migration either: meta.stackoverflow.com/questions/389322/… – George Stocker Sep 12 '19 at 14:46
  • 2
    Same bug affects locked posts, @George - should be fixed now. – Shog9 Sep 12 '19 at 16:03
  • 1
    @shog9 Thanks, it is fixed. I mentioned it in case it's another test case for the bug being fully fixed. – George Stocker Sep 12 '19 at 16:06

You must log in to answer this question.

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