When editing a post that a moderator has disabled commenting on through the standard editor (editor page, not the 2k+ inline editor), one will receive an incorrect error message upon the next heartbeat request that the question is locked and is no longer accepting edits, even though it is.
Steps to reproduce:
- Find a post that a moderator has disabled commenting on.
- Open the "edit" link in a new tab (to access the standard editor page, or
/posts/[post ID]/edit. Make a few edits. (If you have <2k rep, you can just click the "edit" button - you don't need to open it in a new tab, which is necessary for 2k+ users to bypass their inline editor.)
- Wait some time for the page to perform a heartbeat request. You'll receive a big yellow error message indicating that the post is locked and is no longer accepting edits. This message is incorrect.
The "Submit" button is enabled, and the edit does indeed go through, but this false error message is a major nuisance. (Update: Some users are reporting that the Submit button is disabled entirely - this increases the scope of this bug.)
Another update: This appears to be happening with the answer form as well. Steps to reproduce:
- Find a question that a moderator has disabled commenting on.
- Type something into the "Answer" box.
- Wait some time for the page to perform a heartbeat request - you'll see a big yellow error screen that says "this question has been locked - no more answers will be accepted". This error, as before, is incorrect.
- Copy your attempted answer into the clipboard, refresh the page, paste it, and post it. It will go through successfully.