Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-7575 now.

Move all posts doesn't check reported posts (fix completed in vcs)

Result of Bug: Topic appears to have a reported post via viewforum.php, but does not.

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

Posted by prototech (Former Team Member) on Jul 25th 2008, 06:57

Adding to what Brainy already posted.

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.

Posted by prototech (Former Team Member) on Jul 25th 2008, 07:31

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.

Posted by A_Jelly_Doughnut (Former Team Member) on Jul 29th 2008, 18:10

It appears a sync() call needs to be added for $move_posts_ary to acp_users.php.
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.

Changed ticket status from "New" to "Fix in progress"

Action performed by ToonArmy (Development Team Member) on Sep 5th 2008, 14:28

Assigned ticket to user "ToonArmy"

Action performed by ToonArmy (Development Team Member) on Sep 5th 2008, 14:29

Linked ticket with changeset: r8831

Action performed by ToonArmy (Development Team Member) on Sep 5th 2008, 19:02

Changed ticket status from "Fix in progress" to "Fix completed in SVN"

Action performed by ToonArmy (Development Team Member) on Sep 5th 2008, 19:02

Ticket details

Duplicates of this ticket

Related SVN changesets