View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010857 | mantisbt | other | public | 2009-08-21 03:10 | 2026-05-09 20:50 |
| Reporter | cas | Assigned To | community | ||
| Priority | normal | Severity | tweak | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Target Version | 2.29.0 | Fixed in Version | 2.29.0 | ||
| Summary | 0010857: do not adjust "last updated" when monitor added | ||||
| Description | When someone starts monitoring an issue, also the "last updated" field is updated. Although i do support the changelog being updated, i believe that it does not justify to update the "last updated" field since nothing really happened to the issue. | ||||
| Tags | No tags attached. | ||||
|
The reason last updated is changed when a user monitors an issue is to reflect the continued interest in the issue and bubble the issue to the top, where developers would see it again. This is similar to a "ping!" feature. However, I agree that this behavior could be made configurable. |
|
|
I think my biggest issues here are:
|
|
|
I also found it strange that the “Last Update” field in an issue changes even though nothing in the issue itself has changed, except for the list of watchers. From a technical point of view, the issues table in the database hasn’t changed either. |
|
|
PR: https://github.com/mantisbt/mantisbt/pull/2213 If the “Ping! ” feature is needed, it’s easy to implement using a plugin. Why this PR is important to me: I’m trying to develop a plugin (https://github.com/raspopov/MantisChronoTag) to automatically manage issues by assigning them special tags that trigger different actions at specific times. To achieve this, I need to track a baseline timestamp, and the 'Last Update' field is ideal for this purpose — I really don't want to expand the database schema. The current uncontrolled modification of this attribute by issue observers also makes life very difficult for the plugin. |
|
Maybe no longer needed. |
|
|
BTW on the view_all_bug_page.php page, the default sort order is by the “Updated” column, which is affected by observers. |
|
|
MantisBT: master 6fce5960 2026-05-09 20:50 Committer: community Details Diff |
Remove the issue update when watchers change Calls to the bug_update_date() function have been removed from the bug_monitor() and bug_unmonitor() functions. Fixes 0010857, PR https://github.com/mantisbt/mantisbt/pull/2213 |
Affected Issues 0010857 |
|
| mod - core/bug_api.php | Diff File | ||