Okay, so this is a fun scenario, and took me a while to work out.
We had a Needs Approval post that was a reply to a topic that was closed in 2012! Colored with confusion, I’ve spent the last hour trying to figure out how to recreate it and I now have repo steps.
- Login as a new user, must be TL 0
- Navigate to a closed Topic
- Press SHIFT + R to open the composer to enter a reply
- Quickly paste a paragraph of text and press CTRL + Enter to submit your reply
- You will be told that your post is pending approval.
Expected:
You should be given the error “Something has gone wrong. Perhaps this topic was closed or deleted while you were looking at it?”
Actual:
Post ends up in the Needs Approval Queue where Moderators can’t approve it without re-opening the topic. So we have to Reject it (which removes all trace of the post) and unblock the user manually.
There is also a more convoluted way to do this too without the Keyboard Shortcut.
- Login as a new user, must be TL 0
- Navigate to a regular topic
- Use the search facility to navigate yourself to a closed topic (we’re building a browser history trail)
- Press ALT + ← to navigate back to the regular topic
- Click any of the Reply buttons and paste a paragraph of text
- Quick press ALT + → to navigate to the closed topic and press CTRL + Enter to submit your reply
- You will be prompted to confirm which topic you want your reply to apply to, choose the “Current Topic” (aka, the closed topic)
- You will be told that your post is pending approval.
Edit
Ran both of these reproduction steps on my sandbox which is on latest.