View Issue Details

IDProjectCategoryView StatusLast Update
0019379mantisbtadministrationpublic2015-03-02 11:15
ReporteruniversidadIcesi Assigned To 
PrioritylowSeveritytrivialReproducibilityN/A
Status confirmedResolutionopen 
Product Version1.2.4 
Summary0019379: Last Updated field changes without having changed anything
Description

The last updated file is set when opening bug_update_page.php and clicking "Update Information" even if no data has been changed.

TagsNo tags attached.

Activities

universidadIcesi

universidadIcesi

2015-02-17 11:12

reporter   ~0048854

I found that when update bug, but the field not changed their values and click to update bottom, the last update is modified about bug. I think, there 2 possibilites, the first shouldn't changed the last update the bug and second this should be register in the history bug "unchanged". any option no is confuse. thanks

atrol

atrol

2015-02-18 03:10

developer   ~0048856

Confirmed also in current master.

One option is to introduce a return value in function history_log_event_direct (changed or not changed) and call bug_update_date only if the value has been set at least one time to true.

Another option is to build a list of changed fields in a first step, update just the changed fields in database, call history_log_event_direct only for changed fields.

universidadIcesi

universidadIcesi

2015-03-02 10:51

reporter   ~0049112

thanks, I´m going to implement the both answers and select the better option for my bussines

vboctor

vboctor

2015-03-02 11:15

manager   ~0049114

Is this a common issue?

Issue History

Date Modified Username Field Change
2015-02-17 09:33 universidadIcesi New Issue
2015-02-17 11:12 universidadIcesi Note Added: 0048854
2015-02-18 03:10 atrol Priority high => low
2015-02-18 03:10 atrol Status new => confirmed
2015-02-18 03:10 atrol Summary ultima actualización no corresponde con el historial => Last Updated field changes without having changed anything
2015-02-18 03:10 atrol Description Updated View Revisions
2015-02-18 03:10 atrol Note Added: 0048856
2015-03-02 08:04 vitsaadmin Issue cloned: 0019439
2015-03-02 10:51 universidadIcesi Note Added: 0049112
2015-03-02 11:15 vboctor Note Added: 0049114