- checking `self.thread.num_replies` seems to work well if a comment is deleted or flagged as spam. However it didn't work for me when the comment was still pending. I did this: allow *anonymous to POST, then as anonymous I created a new topic, then that page had status 200 but we'd want 404 then too - `forgediscussion.tests.functional.test_forum.TestForum.test_anonymous_post` needs to be updated to expect status 404. Maybe other tests too, after the above change
--- ** [tickets:#8475] Return 404 on "Awaiting Moderation" Threads ** **Status:** review **Milestone:** unreleased **Created:** Wed Nov 02, 2022 03:14 PM UTC by Guillermo Cruz **Last Updated:** Wed Nov 02, 2022 03:14 PM UTC **Owner:** Guillermo Cruz Content on threads that are awaiting moderation should not be indexed by search engines. Return a 404 status code but allow administrators to moderate the content. --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.