View Issue Details

IDProjectCategoryView StatusLast Update
0009291mantisbtbugtrackerpublic2008-07-13 16:25
Reportervboctor Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status confirmedResolutionopen 
Product Versiongit trunk 
Summary0009291: Bogus history entries are created for Due Date

See 0009288 for an example. Here is some extracted entries:

1970-01-01 => 1969-12-31
1969-12-31 => 1969-12-31
1969-12-31 => 1969-12-31



child of 0008942 closedatrol due date feature 




2008-06-27 08:44

reporter   ~0018202

with the patch i post in 0009272:0018136 i didn't have these problems. maybe you can try it.

Blue Ninja

Blue Ninja

2008-06-27 10:27

reporter   ~0018204

I think this is due to bug 0009140 - a blank due date gets defaulted to 1970-01-01 instead of null, and then gets adjusted by the time zone. You're getting 1969-12-31 because you must be ahead of GMT (so the difference gets subtracted). And since this causes it to be "changed", MAntis logs the history of changes.



2008-07-13 16:25

manager   ~0018464

We also need a database upgrade step that deletes all these bogus entries. For example, delete all due date history entries that are smaller than year 2000.

Issue History

Date Modified Username Field Change
2008-06-22 19:57 vboctor New Issue
2008-06-22 19:57 vboctor Status new => confirmed
2008-06-22 19:58 vboctor Tag Attached: due_date
2008-06-27 08:44 mkornatzki Note Added: 0018202
2008-06-27 10:27 Blue Ninja Note Added: 0018204
2008-07-13 16:24 vboctor Relationship added child of 0008942
2008-07-13 16:25 vboctor Note Added: 0018464