Bug #5415
closed
Received a "Your RBE Message could not be posted" error even though the message posted
Added by Matt Gold over 8 years ago.
Updated over 8 years ago.
Category name:
Reply By Email
Files
FYi -- had this happen again. The specific error I received was "Could not be posted because it appears you already created this topic before."
I'm looking into this.
It looks like after a new bbPress forum topic is posted, RBE doesn't appear to close the current IMAP connection properly.
- Status changed from New to Resolved
- Target version set to 1.9.13
So this was a pain to debug!
Fixed in https://github.com/cuny-academic-commons/cac/commit/2eff06df7fe87f6eb25e5f1ea4b8998aebce65f7.
After countless debugging, I narrowed down the problem to the BP Multiple Forum Post plugin.
BP Multiple Forum Post hooks onto the bbPress hook - 'bbp_new_topic_post_extras'
with the bpmfp_create_duplicate_topics()
function. This hook is also used by RBE to emulate bbPress' new topic post routine.
Unfortunately, the bpmfp_create_duplicate_topics()
uses exit()
when it doesn't find its form data from the frontend topic post form. This broke RBE's IMAP disconnection routine since the exit()
call stops the execution of all other scripts, which includes RBE.
To fix this conflict with RBE, I've altered BPMFP so the nonce and exit() check is done a little further below so BPMFP doesn't prematurely break scripts like RBE.
Yikes! Thanks, Ray. Adding Dan as a watcher so that he can merge this fix into his Github repo.
Fix already applied to the BPMFP repo :)
Wow sorry about that! Thanks for fixing, Ray.
Also available in: Atom
PDF