View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003970 | mantisbt | bugtracker | public | 2004-06-24 14:48 | 2004-08-29 02:06 |
Reporter | Assigned To | thraxisp | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Any | OS | Any | OS Version | Any |
Product Version | git trunk | ||||
Fixed in Version | 0.19.0rc1 | ||||
Summary | 0003970: Reopen issue logic was broken for ustom reopen statuses | ||||
Description | Before this update Reopen worked as expected - resolved issue can be reopened, now only "closed" issues have "reopen" button and ability | ||||
Steps To Reproduce | Try to work with Mantis after this update and compate with old style | ||||
Additional Information | Feel free to use http://bts.e-city.net.ru/demo/ - it mirrorred all CVS-commit | ||||
Tags | No tags attached. | ||||
Attached Files | html_api.php.diff (560 bytes)
Index: C:/Documents and Settings/Ray/My Documents/Projects/mantis/core/html_api.php =================================================================== --- C:/Documents and Settings/Ray/My Documents/Projects/mantis/core/html_api.php (revision 1) +++ C:/Documents and Settings/Ray/My Documents/Projects/mantis/core/html_api.php (revision 21) @@ -824,6 +824,9 @@ # REOPEN button html_button_bug_reopen( $p_bug_id ); } + if ($t_status == $t_resolved) { + html_button_bug_reopen( $p_bug_id ); + } PRINT '</td>'; # CLOSE button | ||||
Ups, tested with previous revision and found, that I was wrong - it never work as expected according to html_api edited on: 06-24-04 16:36 |
|
I'll roll this into the fix for 0003772 which touches the same code. |
|
Fixed in CVS as part of the changes for 0003772. |
|
Even with html_api 1.117 edited on: 08-04-04 16:17 |
|
I missed the subtlety of the comment. I will fix this and resubmit. I'm now treating readonly and resolved separately. There will be a reopen button if the issue status is equal to or greater than the "bug_resolved_status_threshold". |
|
Fixed again. Differentiated resolved from readonly actions. |
|