View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019379 | mantisbt | administration | public | 2015-02-17 09:33 | 2015-03-02 11:15 |
Reporter | universidadIcesi | Assigned To | |||
Priority | low | Severity | trivial | Reproducibility | N/A |
Status | confirmed | Resolution | open | ||
Product Version | 1.2.4 | ||||
Summary | 0019379: 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. | ||||
Tags | No tags attached. | ||||
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 |
|
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. |
|
thanks, I´m going to implement the both answers and select the better option for my bussines |
|
Is this a common issue? |
|