View Issue Details

IDProjectCategoryView StatusLast Update
0031711mantisbtbugtrackerpublic2023-01-02 07:19
Reporterduongnvm Assigned To 
Status acknowledgedResolutionopen 
Product Version2.25.2 
Summary0031711: Reporter was unable to close the issue

Reporter failed to close the issue, because there is no close button.
PS: Configure "Allow Reporter to close Issue" to allow.

TagsNo tags attached.
Attached Files
ảnh.png (118,710 bytes)   
ảnh.png (118,710 bytes)   


related to 0014156 closeddregad Add Close button for Reporter if allow_reporter_close is enabled 




2022-12-05 09:20

developer   ~0067192

You are not giving much contextual details, but I'm guessing the problem may be due to the fact that the button is only displayed when the Issue is in RESOLVED state (as defined in $g_bug_resolved_status_threshold).

This is not consistent with how $g_allow_reporter_close is documented in the Admin guide, but matches the PHPDoc in config_defaults_inc.php, which states

Allow reporters to close the bugs they reported, after they are marked resolved

Removing the bug_is_resolved( $p_bug->id ) check in access_can_close_bug() function, makes the Close button to be displayed, if the workflow settings allow moving from the Issue's current status to Closed.

This check was added in 2012 (MantisBT master 085ab169, see 0014156), matching the PHPDoc specification.

Now the question is, what is the correct / intended behavior ?



2022-12-05 23:09

reporter   ~0067194

Thank you for your reply.
I understand! It is true that the problem state is not yet resolved.