Fixed Soft delete redirect threads

Bespoke

Well-known member
Affected version
2.0.7
If you first move a redirect thread to another forum and then try to soft delete it, you get an error.
It seems that when you move the redirect, the key is rebuilt and the target thread_id is overwritten with the redirect thread_id.
So when it tries to soft delete, it fetches itself as one of the redirects to be deleted.
I hope I didn't confuse you too much o_O
 
Seeing same...

Server error log
  • LogicException: Cannot delete an entity that has been partially updated
  • src/XF/Mvc/Entity/Entity.php:1456
 
Top Bottom