I've tried several conversations and it always stops at 250 messages. No server error logs.Copy to thread should work with more, are there any error messages or server error logs?
Or does it just take a long time?
I'm fairly sure I've found the bug, but can you open a ticket on my test site so I can ask a few more questions?I checked with our web host and it looks like our memory usage is high (if that is what you are referring to). I'm going to work with them to see what we can do about that. If the "copy to thread" problem is still happening after we get our memory usage worked out, I can submit a help ticket on your site so I don't clog up this thread? The "export" (to HTML, plain text, etc.) does work perfectly. ^-^
Sure! I submitted it just now. Thank you. ^-^I'm fairly sure I've found the bug, but can you open a ticket on my test site so I can ask a few more questions?
- Fix leaving a conversation unexpectedly marking other conversation recipients as having left since v2.4.1 of this add-on
- This may have resulted in accidental conversation deleting if the "Prevent conversation hard-delete" option was disabled.
- When copying a conversation to a thread, do not bail out on approximately 1 page of messages.
v2.5.2 change notes;
- Force global namespace for functions which are known to be optimizable to bytecode in php...
- Prefix known global functions to avoid a current namespace lookup for the function.
- Classify "[ConvEss] Copy conversation messages to thread" permission as a moderator permission
Server error log
XF\Db\DuplicateKeyException: MySQL query error [1062]: Duplicate entry '0-6353' for key 'PRIMARY' src/XF/Db/AbstractStatement.php:230
Generated by: Natif Gamer Oct 23, 2021 at 4:31 PM
Stack trace
INSERT INTO `xf_sv_convess_label_user_stat` (`label_id`, `user_id`, `use_count`, `unread_count`) VALUES (?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(79): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(220): XF\Db\AbstractAdapter->query('INSERT INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1512): XF\Db\AbstractAdapter->insert('xf_sv_convess_l...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1244): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/addons/SV/ConversationEssentials/Entity/ConvEssUserData.php(147): XF\Mvc\Entity\Entity->save(true, false)
#7 src/addons/SV/ConversationEssentials/Entity/ConvEssUserData.php(64): SV\ConversationEssentials\Entity\ConvEssUserData->updateLabelUsage(NULL, 0, true)
#8 src/XF/Mvc/Entity/Entity.php(1268): SV\ConversationEssentials\Entity\ConvEssUserData->_postSave()
#9 src/XF/Mvc/Entity/Entity.php(1262): XF\Mvc\Entity\Entity->save(true, false)
#10 src/XF/Service/Conversation/Creator.php(227): XF\Mvc\Entity\Entity->save(true, false)
#11 src/addons/SV/ConversationEssentials/XF/Service/Conversation/Creator.php(71): XF\Service\Conversation\Creator->_save()
#12 src/XF/Service/ValidateAndSavableTrait.php(42): SV\ConversationEssentials\XF\Service\Conversation\Creator->_save()
#13 src/XF/Service/User/Welcome.php(190): XF\Service\Conversation\Creator->save()
#14 src/XF/Service/User/Welcome.php(85): XF\Service\User\Welcome->sendMessage()
#15 src/XF/Service/User/RegistrationComplete.php(30): XF\Service\User\Welcome->send()
#16 src/addons/DBTech/Credits/XF/Service/User/RegistrationComplete.php(18): XF\Service\User\RegistrationComplete->triggerCompletionActions()
#17 src/XF/Service/User/EmailConfirmation.php(97): DBTech\Credits\XF\Service\User\RegistrationComplete->triggerCompletionActions()
#18 src/XF/Service/User/EmailConfirmation.php(58): XF\Service\User\EmailConfirmation->triggerExtraActions('email_confirm')
#19 src/XF/Pub/Controller/AccountConfirmation.php(29): XF\Service\User\EmailConfirmation->emailConfirmed()
#20 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\AccountConfirmation->actionEmail(Object(XF\Mvc\ParameterBag))
#21 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:AccountConfi...', 'Email', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\AccountConfirmation), NULL)
#22 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\AccountConfirmation), NULL)
#23 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#24 src/XF/App.php(2345): XF\Mvc\Dispatcher->run()
#25 src/XF.php(512): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}
Request state
array(4) {
["url"] => string(63) "/account-confirmation/natif-gamer.6353/email?c=iTvi3H8BhOOZnL5v"
["referrer"] => bool(false)
["_GET"] => array(2) {
["/account-confirmation/natif-gamer_6353/email"] => string(0) ""
["c"] => string(16) "iTvi3H8BhOOZnL5v"
}
["_POST"] => array(0) {
}
}
- Prevent deadlocks when sending many simultaneous registration welcome conversations
- php 8.1 compatibility
- Require XF2.2+
- Document required php extensions;
- zip - required for the conversation export feature
- Improvements to conversation export feature
- Fix json export not being fully valid
- Reduce IO & memory usage during export
- Display a useful message when an export is requested
- Improve robustness of the export process
- Fix kicked user could not be re-invited to a conversation
- Fix "[ConvEss] Can use...
- Compatibility fix for Conversation Monitor add-on
We use essential cookies to make this site work, and optional cookies to enhance your experience.