Edgewall Software
Modify

Opened 12 years ago

Last modified 7 months ago

#10465 new defect

Counting of Ticket-Comments defect

Reported by: schliske@… Owned by:
Priority: normal Milestone: next-stable-1.6.x
Component: ticket system Version: 0.12.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hello,

in our trac installation I see the error that the ticket comment after comment 79 gets again the number 3. All comments after that comment are increased from 3.

OS is CentOS 6.

Regards,

Erwin Schliske

Attachments (0)

Change History (8)

comment:1 by Remy Blank, 12 years ago

Milestone: next-minor-0.12.x
Owner: set to Remy Blank

Yes, that was a bug in early 0.12.x releases. It happened after tickets were re-targeted due to closing a milestone. We have had a few instances here on t.e.o, and I have fixed them all by hand in the database (ugly, I know). I haven't been able to reproduce the issue with current 0.12-stable, despite trying very hard, so I assume this was fixed some time in 0.12-stable.

We should provide a small script in contrib to scan the database and fix any broken comment threads.

in reply to:  1 comment:2 by marthein1@…, 10 years ago

Replying to rblank:

I haven't been able to reproduce the issue with current 0.12-stable, despite trying very hard, so I assume this was fixed some time in 0.12-stable.

It looks like #10681 shows a way to reproduce this problem. I would like to see it fixed, as it corrupts the database.

comment:3 by marthein1@…, 10 years ago

One of my colleagues also looked at the problem and says:

I think this is caused by only using the time in the join here. Referenced ticket comments have the same time as the changeset, so that causes problems. Can be fixed by adding the ticket number as join requirement.

Seems to be fixed in trunk, see here.

Bug is fixed in r10630.

comment:4 by Ryan J Ollos, 9 years ago

Milestone: next-minor-0.12.xnext-stable-1.0.x

comment:5 by Ryan J Ollos, 9 years ago

Owner: Remy Blank removed

comment:6 by Ryan J Ollos, 7 years ago

Milestone: next-stable-1.0.xnext-stable-1.2.x

Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.

comment:7 by Ryan J Ollos, 4 years ago

Milestone: next-stable-1.2.xnext-stable-1.4.x

comment:8 by Ryan J Ollos, 7 months ago

Milestone: next-stable-1.4.xnext-stable-1.6.x

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.