Please sign in to comment.
FIX: Existing post timings could prevent moving posts
Post timings are created by `topic_id` and `post_number` and it's possible that the destination topic already contains post timings for non-existent posts. For example, this can happen if the destination topic was previously split and Discourse recorded post timings for moved posts in the destination topic. This commit ensures that all timings which reference non-existent posts are deleted from the destination topic before the posts are moved.
- Loading branch information...
Showing with 44 additions and 11 deletions.