View Issue Details

IDProjectCategoryView StatusLast Update
0017075mantisbtmigrationpublic2014-12-05 18:33
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.17 
Target Version1.2.18Fixed in Version1.2.18 
Summary0017075: Import plugins should be able to set last_updated field to a date in the past
Description

At this point it is not possible for a plugin like csv_import to set the last updated field, because bug_set_field() updates the field value (whatever it is), then sets the last_updated to now.

The fix is to not set last_updated to now if the field that was updated is last_updated.

Tagsmantishub

Relationships

related to 0012013 closeddregad Improvements for plugin ImportExportXml (and required core changes) 

Activities

vboctor

vboctor

2014-03-10 00:59

manager   ~0039635

Pull request can be found at https://github.com/mantisbt/mantisbt/pull/146

Related Changesets

MantisBT: master-1.2.x d5e55323

2014-03-09 19:52

vboctor


Details Diff
Fixes 0017075: Import plugins should be able to set last_updated field to a date in the past. Affected Issues
0017075
mod - core/bug_api.php Diff File

MantisBT: master af233939

2014-03-09 19:52

vboctor


Details Diff
Fixes 0017075: Import plugins should be able to set last_updated field to a date in the past Affected Issues
0017075
mod - core/bug_api.php Diff File