Serious Bug - shadow posts

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
gs2088c
Registered User
Posts: 243
Joined: Thu Dec 03, 2009 7:09 pm

Serious Bug - shadow posts

Post by gs2088c » Fri Mar 19, 2010 2:43 pm

There is a serious bug in phpbb3.0.X (3.0.6 for sure, maybe others). Here is the situation (to recreate it on a demo board):

1. Create two forums, "FROM" and "TO".
2. Create a post in forum "FROM".
3. Move post to forum "TO", leaving a shadow post in place.
4. Click the shadow post, it takes you to the forum "TO" (just fine).
5. Delete the post in the forum "TO", the shadow post is deleted (just fine).
6. Repeat steps 1-3.
7. Delete forum "TO", instruct phpbb3.0.x to delete the posts.
8. The shadow posts aren't deleted. This is poor programming.
9.1. If the posts can be deleted one at a time and the shadow posts are deleted, phpbb should delete all shadow posts when deleting the forum.
9.2. There is no way to go into the shadow post and delete the shadow posts (e.g. click on the shadow, and then delete it, like a non-shadow post).
Mainframe Computer Operations (8 years)
Mainframe Technical Support (5 years)
Tandem System Admin (8 years)
Tandem DBA (15 years)
What is the one real database? Tandem Non-Stop :mrgreen:

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50582
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Serious Bug - shadow posts

Post by stevemaury » Fri Mar 19, 2010 2:47 pm

Please start a bug report at phpbb.com/bugs - thanks.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

User avatar
gs2088c
Registered User
Posts: 243
Joined: Thu Dec 03, 2009 7:09 pm

Re: Serious Bug - shadow posts

Post by gs2088c » Fri Mar 19, 2010 2:51 pm

I was in the process, when you posted this! :D

ADDED: http://www.phpbb.com/bugs/phpbb3/ticket ... t_id=59735
Mainframe Computer Operations (8 years)
Mainframe Technical Support (5 years)
Tandem System Admin (8 years)
Tandem DBA (15 years)
What is the one real database? Tandem Non-Stop :mrgreen:

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50582
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Serious Bug - shadow posts

Post by stevemaury » Fri Mar 19, 2010 3:04 pm

You are going to need to clarify that you actually mean "topic" every time you say "post". There is no ability to delete topics, other than by deleting the forum, although if a topic only contains the initial post, you can delete that post. Is this what you mean?

EDIT - although I have reproduced the behavior you describe.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

User avatar
gs2088c
Registered User
Posts: 243
Joined: Thu Dec 03, 2009 7:09 pm

Re: Serious Bug - shadow posts

Post by gs2088c » Fri Mar 19, 2010 5:27 pm

I challenge your comment of "There is no ability to delete topics, other than by deleting the forum". Here is the proof:

1. Created forum "TO2"
2. Created topic in forum "FROM"
3. Created post (reply) to topic in forum "FROM"
4. Moved topic to forum "TO2"
5. Both topic and post moved OK, shadow topic in forum "FROM"
6. Deleted topic in forum "TO2"
7. Show post now points to reply only
8. Deleted the reply that remained in "TO2"
9. The shadow post in "FROM" not there.
10. NEW TEST
10.1. Created topic in forum "FROM"
10.2. Created post (reply) to topic in forum "FROM"
10.3. Moved topic to forum "TO2"
10.4. Deleted forum, telling it to delete the topics/posts
10.5. Shadow topic/post still in "FROM"
11, ANOTHER TEST
11.1. Created topic with post (reply).
11.2. Deleted topic (top level) - topic now pointing to reply
11.3. Deleted post (reply)
11.4. Topic is not in database

My original comments remain, there is a serious bug. If you can delete topics and posts individually, as the above proves, when you delete a forum, and tell it to delete posts (which it also deleted the "topic" and post). As I showed, you have a topic and a reply that was moved to a forum, and then in turn they were deleted (e.g. the "TO" forum), then phpbb should delete the shadow topic, since all the related posts/topics in the other forums were deleted. Because of this bug, it will always show "The requested topic does not exist".

So, when you have a shadow topic in place, and all related topics/posts are deleted, the shadow topic should be deleted. As I said, this is a bug.
Mainframe Computer Operations (8 years)
Mainframe Technical Support (5 years)
Tandem System Admin (8 years)
Tandem DBA (15 years)
What is the one real database? Tandem Non-Stop :mrgreen:

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50582
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Serious Bug - shadow posts

Post by stevemaury » Fri Mar 19, 2010 5:32 pm

I do not disagree it is a bug. You did not delete a topic in 11.2. You deleted a post (the first post in the topic) leaving the Reply as the first post.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

User avatar
gs2088c
Registered User
Posts: 243
Joined: Thu Dec 03, 2009 7:09 pm

Re: Serious Bug - shadow posts

Post by gs2088c » Fri Mar 19, 2010 6:32 pm

I created a NEW TOPIC, then submitted it, then posted a reply to that then submitted it, thus the phrase; "Created topic with post (reply)". By phpBB own screen, when it is the first (top level) item, it says specifically "NEW TOPIC", then after that "POST REPLY".
Mainframe Computer Operations (8 years)
Mainframe Technical Support (5 years)
Tandem System Admin (8 years)
Tandem DBA (15 years)
What is the one real database? Tandem Non-Stop :mrgreen:

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50582
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Serious Bug - shadow posts

Post by stevemaury » Sat Mar 20, 2010 12:34 am

That is correct. To delete a topic means to delete ALL posts in the topic. When you merely delete the first one, the second remains as the "topic".

But this is semantics. The bug you reported exists.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Locked

Return to “[3.0.x] Support Forum”