bug in moving a forum thread
- Status
- Closed
- Subject
- bug in moving a forum thread
- Version
- 12.x
- Category
- Error
- Regression
- Usability
- Support request
- Feature
- Administration
Comment
Forum - Resolution status
- Fixed or Solved
- Submitted by
- olinuxx
- Lastmod by
- olinuxx
- Rating
- Description
hi all,
I've spotted a bug on the forums.
Here is a case scenario :
- Lets say that I have a forum thread in forumId=1 which is constituted of one original message and 4 answers
- and I'm moving it (as admin) to (as an example) forumId=2,
- then I end up with being only able to see the original post (which created the thread) and the last answer
Note that if I move it back to its original location (in this case forumId=1), then I can see the full thread (original post + the 4 answers).I did some research:
When I'm going in the data-base table "tiki-comments", the only difference I can see between the thread being in the 2 different locations (forumId=1 and forumId=2) is the number in the "object" column. This column looks to be used for indicating to which forumId the message belong to. So, if I'm changing the number of this "object" column to the relevant forumId number, then it makes it working as expected (ie: showing all the messages in the thread).My conclusion: it looks like there is then a bug in the function used to move one thread from a forumID=x to a forumID=y, which somehow does not handle correctly the changes needed in the "object" column of the "tiki-comments" table.
Hope that helps.
- Solution
Please see the third comment.
- Workaround
- Go to the data-base table "tiki-comments"
- Reassign the "object" column field of the incriminated message to the relevant one
- Importance
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5454
- Created
- Sunday 31 August, 2014 16:21:16 UTC
by olinuxx - LastModif
- Thursday 03 March, 2016 15:37:45 UTC