Fixed Undeleted threads with deleted first post


Well-known member
Affected version
2.2.6 Patch 2
How to ..?
  1. Login as generic user (without any specific permissions).
  2. Create thread.
  3. Write any post additionally.
  4. Login as moderator.
  5. Delete post #2.
  6. Move post #1 to another thread.
Expected result: Created thread should be hidden/logically deleted because there are no one visible post for generic users.
Real result: Users continue see thread in list, but when they try open, he receive error "Something went wrong. Please try again or contact the administrator.".
Staff users can see thread:

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.7).

Change log:
When moving the first post out of a thread with no other visible posts, correctly set the state of the new first post and original thread record
There may be a delay before changes are rolled out to the XenForo Community.