Opened 14 years ago
Closed 14 years ago
#1502 closed defect (bug) (fixed)
Merging Topics while Lead Topic Option is set to false
Reported by: | GautamGupta | Owned by: | |
---|---|---|---|
Milestone: | 2.0 | Priority: | high |
Severity: | major | Version: | |
Component: | Component - Topics | Keywords: | has-patch |
Cc: |
Description
Steps to reproduce:
- Have the Lead Topic Option as false
- Have a topic X with any number of replies
- Have a topic Y with any number of replies
- Topic X should be created before topic Y (or reverse X & Y in the steps below)
- With source = X, destination = Y, merge the topics.
- The source = X's first post (ie. lead post ie. the X topic post) is shown before the topic Y which shouldn't be the case.
Attaching a patch which checks for this and sets the post date of the destination topic a second before the post date of the source topic.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [3017]) When merging two topics together, the destination topic post_date cannot be after the source topic or any merged replies. Fixes #1502. Props GautamGupta for original patch.