Bug #13966
closedReplying by email to a trashed or spammed forum topic causes a fatal error
0%
Description
So on the dev call, I thought that there was a timeout issue when parsing the RBE inbox check.
Turns out the problem was simpler than that! A user was replying to a trashed forum topic and that caused a fatal error due to the way RBE handles replies when a forum topic was trashed or marked as spammed.
Full details here: https://github.com/r-a-y/bp-reply-by-email/issues/125
I initially copied the reply logic from bbPress and they also recently addressed the issue in bbPress 2.6.5: https://bbpress.trac.wordpress.org/ticket/3409
Updated by Raymond Hoh almost 4 years ago
- Status changed from New to Resolved
Also deployed as a hotfix.
One other thing I wanted to note is in bbPress, if a forum topic is trashed or spammed but a user attempts to reply, the reply is still allowed through. However, it is later also marked as trash or spam.
I'm thinking we shouldn't follow bbPress here for RBE. If a forum topic is trashed or marked as spam, I think we should stop parsing the email reply and instead, send back an error email to the sender saying that the replied forum topic has been trashed or marked as spam. Would welcome thoughts from others on this.