Bug tracker
Move all posts doesn't check reported posts (fix completed in vcs)
Steps to reproduce:
1. Report a topic reply
2. Do NOT close report
3. Use ACP to move all of user's posts to a different forum.
4. Look at topic via viewforum.php
Comments / History
Brainy wrote:4. Look at topic via viewforum.php
The original topic will appear reported in the topiclist, but clicking on the icon to view the report simply results in "No reports found."
- Go to the forum where the posts were moved to. The reported post is now a topic, but it does not appear reported in the topiclist.
- View the topic and the reported post will display correctly as reported.
- Close the report now and the original topic will remain marked as reported, thus leaving a "ghost" report behind which you are unable to close.
leaving a "ghost" report behind which you are unable to close.
Just tested this out... and actually merging the original and new topic (once the report is closed) will remove the reported elements from the original topic in the topiclist.
- Code: Select all
if (sizeof($move_posts_ary))
{
sync('reported', 'topic_id', array_keys($move_posts_ary));
}
Not tested; this is just from looking at the code.