View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010915 | mantisbt | printing | public | 2009-09-07 10:10 | 2009-10-07 14:19 |
Reporter | mosmondor | Assigned To | dhx | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0rc1 | ||||
Target Version | 1.2.0rc2 | Fixed in Version | 1.2.0rc2 | ||
Summary | 0010915: Description field data not shown on any table | ||||
Description | I tried reports, no description. Tried to add description field to 'view issues' table, no luck either. | ||||
Tags | patch | ||||
Attached Files | columns_api.patch (1,162 bytes)
--- a/core/columns_api.php Fri Sep 18 15:48:40 2009 +++ b/core/columns_api.php Fri Sep 18 15:48:47 2009 @@ -1131,6 +1131,7 @@ * @access public */ function print_column_description( $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { + $p_bug->fetch_extended_info(); $t_description = string_display_links( $p_bug->description ); echo '<td class="left">', $t_description, '</td>'; @@ -1144,7 +1145,8 @@ * @access public */ function print_column_steps_to_reproduce( $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { - $t_steps_to_reproduce = string_display_links( $p_bug->additional_information ); + $p_bug->fetch_extended_info(); + $t_steps_to_reproduce = string_display_links( $p_bug->steps_to_reproduce ); echo '<td class="left">', $t_steps_to_reproduce, '</td>'; } @@ -1157,6 +1159,7 @@ * @access public */ function print_column_additional_information( $p_bug, $p_columns_target = COLUMNS_TARGET_VIEW_PAGE ) { + $p_bug->fetch_extended_info(); $t_additional_information = string_display_links( $p_bug->additional_information ); echo '<td class="left">', $t_additional_information, '</td>'; | ||||
$p_bug->fetch_extended_info(); does not get called. I attached a patch that addresses this issue. |
|
view_all_bug_page.php now displays the information correctly, print_all_bug_page.php too however, print_all_bug_page_word.php?search=&sort=last_updated&dir=ASC&type_page=html&export=-1&show_flag=0 (word or html export) still misses description info. |
|
I now did an other approach to generally fix this Problem. The Bug-Object now notices if the requested field is extended or not. Fixed there: |
|
Thanks for fixing this Danez, I've committed your patch to both 1.2.x and 1.3.x (and I've confirmed that the description column now works!). |
|
MantisBT: master-1.2.x 5b448d2f 2009-09-20 11:20 Committer: dhx Details Diff |
Fix 0010915: Description field data not shown class BugData now notices if the requested field is an extended or not, and then fetches the extended data if needed. A small bug was also fixed in the print function for steps_to_reproduce. Printed additional_info instead of steps_to_reproduce. Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010915 |
|
mod - issues_rss.php | Diff File | ||
mod - csv_export.php | Diff File | ||
mod - plugins/XmlImportExport/pages/export.php | Diff File | ||
mod - core/bug_api.php | Diff File | ||
mod - core/columns_api.php | Diff File | ||
MantisBT: master f9ab82ea 2009-09-20 11:20 Committer: dhx Details Diff |
Fix 0010915: Description field data not shown class BugData now notices if the requested field is an extended or not, and then fetches the extended data if needed. A small bug was also fixed in the print function for steps_to_reproduce. Printed additional_info instead of steps_to_reproduce. Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010915 |
|
mod - core/bug_api.php | Diff File | ||
mod - issues_rss.php | Diff File | ||
mod - csv_export.php | Diff File | ||
mod - plugins/XmlImportExport/pages/export.php | Diff File | ||
mod - core/columns_api.php | Diff File |