View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0022441||mantisbt||bugtracker||public||2017-03-01 03:44||2017-10-28 19:08|
|Target Version||2.8.0||Fixed in Version||2.8.0|
|Summary||0022441: Notes are not in the correct order after cloning an issue|
After cloning an issue including the attached notices these are not sorted in the correct ascending or descending order by time. So there is a mess in long issues.
|Tags||No tags attached.|
I didn't try to reproduce this, but looking at bug_copy() API function, the SQL statement retrieving the list of notes from the source issue does not have an ORDER BY clause so it's likely that this is the root cause of the issue.
No time to fix and test now, but I believe adding
I don't think there is an easy way to retroactively fix previously copied issues.
(This wouldn't be a problem to us... ) ;-)
Is the noted change slated for inclusion in an upcoming MantisCore version? We are currently using 2.5.1 and continue to see this issue.
MantisBT: master 23db63f1
Committer: vboctor Details Diff
|Fix order of activities with same timestamp
When activities of the same type have the same timestamp, for example
when created from cloning issues, use the element id for sorting.
|mod - core/bug_activity_api.php||Diff File|