(2010-10-22, 08:59 PM)Kazuto Wrote: [ -> ]One of my members just ran into a bug with MyBBPublisher. Apparently, it gives an error pointing to EpiTwitter.php saying that editing the first post of a thread as a duplicate, leading to inability to edit beginning posts.
Here's the thread he made: http://forum.aspiegeek.com/thread-edit-bug
I am looking into it. To verify, you are using MyBB 1.6 and the latest (1.3.0) of MyBBPublisher?
Its not a problem with the plugin, its a Twitter issue. There appears to continue to be a delay with their status propagation between servers.
See, during an edit, the plugin will search Twitter for a status message with the same Twitter status ID that is stored with the MyBB thread (which was obtained from Twitter when the status was fist posted) and if it finds a matching ID, the plugin will tell Twitter to delete that status update.
The plugin will then post the updated status to Twitter.
However, if you edit the thread too fast, the original status update is not found as it has not propagated to all the servers, or at least the servers used to search status updates. Thus it is not found and not deleted.
The plugin can not verify that the status does not exist since it is possible to manually delete the status from Twitter via Twitter or other Twitter interfaces.
When the plugin tries to post the new status update, its an error since the old one is still present.
So this is my best guess as to why this issue comes up. I have been able to test both Quick and Full edits and sometimes they work, sometimes they don't. Most of the time, when they don't work, its only been a very short while since the original status was posted.
If I wait a few minutes, the edits works fine.
Can you have your member try to edit the post again, now that its been a while?
I need to release version 1.3.1 later today to address the Facebook changes they made, but that is mostly a documentation issue. I will add a bit to not apply Twitter/FB status updates when using Quick Edit, since that does not change subject or URLs anyway