View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010748 | mantisbt | time tracking | public | 2009-07-21 20:03 | 2014-11-07 17:17 |
Reporter | pmainvil | Assigned To | dhx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | XAMPP 1.7.1 | OS | Windows | OS Version | XP/Vista |
Product Version | 1.2.0rc1 | ||||
Target Version | 1.2.0rc2 | Fixed in Version | 1.2.0rc2 | ||
Summary | 0010748: due_date field does not display properly in View Issues and Print Issues | ||||
Description | Contents of due date field displays as @due_date@ in View Issues and Print Issues instead of date. | ||||
Steps To Reproduce | Enabled display of this field using: $g_view_issues_page_columns = array ( 'selection', 'edit', 'priority', 'id', 'category_id', 'severity', 'status', 'last_updated', 'due_date', 'target_version', 'summary' ); $g_print_issues_page_columns = $g_view_issues_page_columns; | ||||
Additional Information | Field is displayed properly in View Issue Details. Overdue issues are also displayed with a red background. Also noticed that calendar popup in Edit Issue has transparent background making it difficult to view dates. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
It should be fixed now, thanks for reporting! |
|
Hello, I confirm the resolution of the popup calendar issue, but the first part of the problem is still present. That is display of due_date field displays as @due_date@ in View Issues and Print Issues instead of actual date. |
|
OK thanks for the feedback, I missed that... I'll get around to fixing it soon :) |
|
TODO: Add print_column_due_date() function to columns_api.php and ensure it prints a formatted date (using the short_date configuration option). Also add the appropriate function to print the title of the column. |
|
And while you are in there, the function print_column_projection() is also missing from columns_api.php, causing it to display as '@projection@' in 1.2rc1 view issues. |
|
OK I've committed a patch that properly fixes this up (for the view columns at least). Thanks for the bug report pmainvil. wdargel: I fixed the projection field a while ago shortly after the 1.2.0rc1 release. Please check out the latest version of the 1.2.x branch from git to have a version that fixes the projection column. Also in the future please file a new bug report instead of reporting a problem under other tickets, it just makes it easier to track what needs to be fixed. |
|
I confirm resolution for the View and Print Report pages. For the export pages, I got the following error message. (In case it may help) CSV Export: Fatal error: Call to undefined function csv_format_due_date() in /var/www/mantis/csv_export.php on line 120 Excel Export: Fatal error: Cannot use object of type BugData as array in /var/www/mantis/excel_xml_export.php on line 97 XML Export: Fatal error: Call to private method BugData::fetch_extended_info() from context '' in /var/www/mantis/plugins/XmlImportExport/pages/export.php on line 81 Thank you to all the people involved in the development/support/maintenance of this fine piece of software. |
|
It should be fixed now for CSV output. Thanks for taking the time to report and test this bug! Note that I didn't implement the 'overdue' column in the CSV output because doing so is a bit tricky at the moment with the internal way in which Mantis exports to CSV format. At least you can see the actual due date though :) |
|
MantisBT: master-1.2.x cb0318cb 2009-09-10 03:42 Details Diff |
Fix 0010748: Fix CSS include for jscalendar The CSS required for jscalendar was not included properly. Additionally, there was some left over code that doesn't apply to the jscalendar widget that MantisBT has been using. This useless code has been removed. |
Affected Issues 0010748 |
|
mod - core/date_api.php | Diff File | ||
MantisBT: master 10f17e42 2009-09-10 03:42 Details Diff |
Fix 0010748: Fix CSS include for jscalendar The CSS required for jscalendar was not included properly. Additionally, there was some left over code that doesn't apply to the jscalendar widget that MantisBT has been using. This useless code has been removed. |
Affected Issues 0010748 |
|
mod - core/date_api.php | Diff File | ||
MantisBT: master-1.2.x 7ff08a68 2009-09-23 04:51 Details Diff |
Fix 0010748: Fix due_date column, add new overdue column This patch implements support for showing the due_date field as a column. Additionally, the overdue icon has been moved from within the edit column to it's own new "overdue" column. The functionality of the due_date and overdue columns do overlap, so it only makes sense to use one at a time. |
Affected Issues 0010748 |
|
mod - core/columns_api.php | Diff File | ||
mod - core/bug_api.php | Diff File | ||
MantisBT: master 6e5852da 2009-09-23 04:51 Details Diff |
Fix 0010748: Fix due_date column, add new overdue column This patch implements support for showing the due_date field as a column. Additionally, the overdue icon has been moved from within the edit column to it's own new "overdue" column. The functionality of the due_date and overdue columns do overlap, so it only makes sense to use one at a time. |
Affected Issues 0010748 |
|
mod - core/columns_api.php | Diff File | ||
mod - core/bug_api.php | Diff File | ||
MantisBT: master-1.2.x e0ca2425 2009-10-05 04:02 Details Diff |
Fix 0010748: CSV export: add due date column The CSV export functionality needs to be able to export the due_date column. However, we don't export the overdue column (yet) because implementation of this column is a little bit more tricky with the current CSV API. |
Affected Issues 0010748 |
|
mod - core/csv_api.php | Diff File | ||
mod - core/helper_api.php | Diff File | ||
MantisBT: master 6b3560d4 2009-10-05 04:02 Details Diff |
Fix 0010748: CSV export: add due date column The CSV export functionality needs to be able to export the due_date column. However, we don't export the overdue column (yet) because implementation of this column is a little bit more tricky with the current CSV API. |
Affected Issues 0010748 |
|
mod - core/csv_api.php | Diff File | ||
mod - core/helper_api.php | Diff File |