View Issue Details

IDProjectCategoryView StatusLast Update
0010748mantisbttime trackingpublic2014-11-07 17:17
Reporterpmainvil Assigned Todhx  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformXAMPP 1.7.1OSWindowsOS VersionXP/Vista
Product Version1.2.0rc1 
Target Version1.2.0rc2Fixed in Version1.2.0rc2 
Summary0010748: 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.

TagsNo tags attached.
Attached Files
cal-popup.png (7,818 bytes)   
cal-popup.png (7,818 bytes)   

Relationships

related to 0017847 closeddregad New BugData object due_date should be blank 

Activities

dhx

dhx

2009-09-10 03:47

reporter   ~0022899

It should be fixed now, thanks for reporting!

pmainvil

pmainvil

2009-09-11 08:11

reporter   ~0022904

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.

dhx

dhx

2009-09-19 10:48

reporter   ~0022975

OK thanks for the feedback, I missed that... I'll get around to fixing it soon :)

dhx

dhx

2009-09-22 03:17

reporter   ~0023002

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.

wdargel

wdargel

2009-09-23 04:40

reporter   ~0023024

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.

dhx

dhx

2009-09-23 04:56

reporter   ~0023025

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.

pmainvil

pmainvil

2009-09-23 19:52

reporter   ~0023027

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.

dhx

dhx

2009-10-05 05:51

reporter   ~0023055

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 :)

Related Changesets

MantisBT: master-1.2.x cb0318cb

2009-09-10 03:42

dhx


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

dhx


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

dhx


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

dhx


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

dhx


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

dhx


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