Moving posts can result in post delete reason being lost

Xon

Well-known member
Affected version
2.2.12
When moving the last visible post out of a thread, the first non-visible post is made the first post and then forced to be visible and the thread then marked as non-visible.

If this was a deleted post, the updateSourceData function doesn't copy the DeletionLog from the post to the thread, resulting in it being lost.

I'm not sure the correct action if the old thread was deleted and had a DeletionLog, and the new first post was also deleted and has it's own DeletionLog entry.
 
Back
Top Bottom