View Issue Details

IDProjectCategoryView StatusLast Update
0037459mantisbtuipublic2026-10-26 05:15
Reporterc_schmitz Assigned Tocommunity  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version2.28.4 
Target Version2.29.0 
Summary0037459: Resolution field missing when closing a reopened issue
Description

hen an issue that has been reopened is closed directly from the "Change Status To: closed" page, the Resolution field is not shown, so the resolution cannot be set and stays at "reopened".

bug_change_status_page.php considers the current resolution as "fixed" if it is >= $g_bug_resolution_fixed_threshold (FIXED). With the default enum, REOPENED (30) is greater than FIXED (20), so a reopened issue is treated as already fixed and the Resolution field is hidden when closing it. When resolving a reopened issue, the field is shown but "reopened" is preselected instead of "fixed".

bug_update.php already treats $g_bug_reopen_resolution as a special case in its resolution checks (see 0022468 for the original change on the status page).

Steps To Reproduce

Steps to reproduce:

  1. Resolve an issue as "fixed"
  2. Reopen it (resolution becomes "reopened")
  3. Change status to "closed"
    => No Resolution field is displayed; the issue is closed with resolution "reopened"

Expected:
The Resolution field is displayed with "fixed" preselected.

TagsNo tags attached.

Activities

c_schmitz

c_schmitz

2026-10-25 11:13

reporter   ~0071534

See https://github.com/mantisbt/mantisbt/pull/2302

dregad

dregad

2026-10-26 05:15

developer   ~0071535

Thanks for the report and pull request