RBE duplicate email message issue
Hi Ray -- I received a message saying that I was trying to post a message via RBE that had already been posted. It is true that I had posted the same message via RBE, but it was to a different group. I received the following message when I did:
Unfortunately, your new forum topic could not be posted because it appears you already created this topic before.
Here is a copy of your attempted topic:
#2 Updated by Raymond Hoh over 3 years ago
RBE uses bbPress's logic to check for duplicate forum topics.
When you post on the web, since you are an administrator, you are able to bypass this check.
When posting via RBE, bbPress does a logged-in user check for administrator privileges. Since RBE functions in a logged-out state, your topic will be checked for duplicates regardless of your administrator role.
For a workaround when posting duplicate topics via RBE, alter the body of the message slightly.
Another way to address this is to get bbPress to modify their
bbp_check_for_duplicate() function to check against the post author instead of the logged-in user.
If you feel that we do not need to keep bbPress's logic of duplicate forum topics for RBE, then let me know and I'll see what I can do.
#5 Updated by Raymond Hoh over 3 years ago
Just to confirm: it checks across groups, rather than for duplicate posts in a single group?
Yes, the duplicate check is done across all group forums.
Changing the message a bit is a good workaround and I don't mind doing it.
This is only necessary when using RBE for now.
Just quoting myself here:
Another way to address this is to get bbPress to modify their bbp_check_for_duplicate() function to check against the post author instead of the logged-in user.
I created a bbPress ticket for making the
bbp_check_for_duplicate() function less reliant on the current user context:
We'll see what they say about this.
#6 Updated by Raymond Hoh over 3 years ago
- Status changed from Assigned to Hold
- Assignee changed from Matt Gold to Raymond Hoh
An update here, bbPress merged my fix. Not sure when they intend to ship their next release though.
In the meantime, the workaround to slightly modify the email content when posting duplicate topics/replies stands.