Topics with same title and data in different forums not possible.
- Status
- Closed
- Subject
- Topics with same title and data in different forums not possible.
- Version
- 1.9.x
- Category
- Error
- Feature
- Forum
- Resolution status
- Fixed or Solved
- Submitted by
- Thomas Krepkowski
- Volunteered to solve
- Thomas Krepkowski
- Lastmod by
- Nelson Ko
- Rating
- Description
You cannot a topic with the same title and data in different forums. By the check_for_topic function of the commentslib it is checked, if a topic already exists and if true the user is send to that topic.
I am having this use case in forums for different courses to take place and the common topic to invite the participants to register by the forum.
Even after I managed it to have the participate topic in every forum by changing the title and data slightly, the replies to that topics get messed up again and seem to be hidden. A look in the database shows, that the replies are marked as replies to the first topic fitting in regard to title and topic by setting the parentId to threadId of the fitting. But the data in the column object keeps to be set to the forum the reply was meant to be.- Solution
I propose to rewrite the check_for_topic function to check not only title and data but more data-fields. I think the forum-number should at least get in the hash-calculation.
koth: see my comment
- Importance
- 8
- Priority
- 40
- 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
- 415
- Created
- Monday 21 November, 2005 19:46:53 UTC
by Unknown - LastModif
- Thursday 30 September, 2021 13:42:00 UTC