View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0029181 | mantisbt | bugtracker | public | 2021-10-15 12:08 | 2022-04-13 12:10 |
Reporter | it_fred | Assigned To | dregad | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.23.0 | ||||
Target Version | 2.25.3 | Fixed in Version | 2.25.3 | ||
Summary | 0029181: 'format_issue_summary' custom function not called from View Issue Details page | ||||
Description | (with case SUMMARY_FIELD) If you want custom "summary ID view" with the function "custom_function_override_format_issue_summary" (config\custom_functions_inc.php) Moreover, without custom, the function "function custom_function_default_format_issue_summary" (core\custom_function_api.php) | ||||
Additional Information | workarround : Patch "bug_view_inc.php" line 545 : Change the line: echo '<td class="bug-summary" colspan="5">', string_display_line( bug_format_id( $f_issue_id ) . ': ' . $t_issue['summary'] ), '</td>'; By: echo '<td class="bug-summary" colspan="5">', string_display_line( bug_format_summary( $f_issue_id, SUMMARY_FIELD ) ), '</td>'; The function "bug_format_summary" call "format_issue_summary" (helper_call_custom_function) ( | ||||
Tags | No tags attached. | ||||
Bug is confirmed. It is a regression from commit MantisBT master 2b163046 when IssueViewCommand was introduced. |
|
MantisBT: master 2b163046 2019-06-02 20:50 Details Diff |
Add IssueViewCommand and use it in bug_view_inc.php |
Affected Issues 0025902, 0029181 |
|
mod - bug_view_inc.php | Diff File | ||
add - core/commands/IssueViewCommand.php | Diff File | ||
MantisBT: master-2.25 619e9e4f 2021-10-16 01:43 Details Diff |
Use custom function to display issue summary Introduction of IssueViewCommand [1] removed the call to 'format_issue_summary' custom function from View Issue Details page (bug_view_inc.php). This fixes the regression, restoring earlier behavior of calling bug_format_summary(). Fixes 0029181 [1]: issue 0025902, commit 2b163046849d3445894537f7a7b4762edd41ff8b |
Affected Issues 0022784, 0025902, 0029181 |
|
mod - bug_view_inc.php | Diff File |