View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025681 | mantisbt | plug-ins | public | 2019-04-05 05:11 | 2020-09-09 08:54 |
Reporter | 123 | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Summary | 0025681: Problem with date range filter in MantisGraph issues_trend_page.php | ||||
Description | Can we say that MantisGraph works correctly on the issues_trend_page.php page? If you look through the browser debugger, the "value" parameters contain valid data. And if you look at these fields at the time of updating the page, you can see that the date appears, but then quickly disappears. I traced the debugger in the mantisbt kernel, and found that this problem occurs after running html_javascript_link ('list-'. LISTJS_VERSION. '. Min.js') for the "From" field, and html_javascript_link ("ace.min.js') for the field "To". | ||||
Tags | No tags attached. | ||||
Perhaps duplicate issue https://mantisbt.org/bugs/view.php?id=23701 |
|
Checked the date requirements in the documentation https://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.config.date |
|
A little debugger walked through the code in bootstrap-datetimepicker-4.17.47.min.js |
|
According to git bisect, it would appear that issues_trend_page.php page is completely broken (EDIT: or more accurately, when used with Arbitrary Dates period) since MantisBT master 6f73af16 (see 0020040). Prior to that it was (more or less) working, i.e. the date picker was apparently returning dates in the wrong format (with YYYY-MM-DD HH:MM, instead of YYYY-MM-DD), causing the code to use 1970-01-01 if time is present (didn't check reason for this behavior or the use of wrong format). |
|
2.24.2 |
|
This is a sequential row number and the corresponding date. What's confusing, is that when the selected date interval is <= days, then the data is broken down into hourly intervals instead of daily, but the time is not displayed.
That has already been reported in this issue's original description, and I have confirmed the bug, so this is nothing new. |
|
why the counting (accumulate issues) are all the same in each row? |
|
Because there was no change in the given period... |
|
@123 @amphetamine I'm asking because it seems to me that displaying a table with aggregated raw data like this is not directly useful, and I would think that exporting it (e.g. Excel) would be required for further analysis. |
|
Unfortunately, I can no longer remember why I needed it. |
|
I'm trying to evaluate my team member's performance during setting period of time (how many cases they have and how many cases they've updated and resolved). |
|
In that case maybe it's more appropriate and simpler, to start from View Issues page, set appropriate filter (e.g. by Last Updated Date) and then click on Summary button so you can use the existing stats, as well as graphs (if you have MantisGraph plugin). The downside is that this does not currently offer dynamic date filters (e.g. last month, year-to-date) |
|
MantisBT: master 6f73af16 2016-11-06 17:30 Committer: dregad Details Diff |
Replace jscalendar with bootstrap-datetimepicker library - Enable datetimepciker on all pages by default - Relocate inline JS code into standalone files - Remove CSP exceptions for jscalendar - Multi-language support Fixes 0020040 |
Affected Issues 0020040, 0025681 |
|
mod - bug_actiongroup_page.php | Diff File | ||
mod - bug_change_status_page.php | Diff File | ||
mod - bug_report_page.php | Diff File | ||
mod - bug_update_page.php | Diff File | ||
mod - config_defaults_inc.php | Diff File | ||
mod - core/constant_inc.php | Diff File | ||
mod - core/http_api.php | Diff File | ||
mod - core/lang_api.php | Diff File | ||
mod - core/layout_api.php | Diff File | ||
mod - css/ace-mantis.css | Diff File | ||
add - css/bootstrap-datetimepicker.min.css | Diff File | ||
add - js/bootstrap-datetimepicker.min.js | Diff File | ||
mod - js/common.js | Diff File | ||
rm - js/jscalendar/calendar-blue.css | Diff | ||
rm - js/jscalendar/calendar-setup.js | Diff | ||
rm - js/jscalendar/calendar.js | Diff | ||
rm - js/jscalendar/lang/calendar-en.js | Diff | ||
add - js/moment-with-locales.min.js | Diff File | ||
mod - manage_proj_ver_edit_page.php | Diff File | ||
mod - plugins/MantisGraph/core/Period.php | Diff File | ||
mod - plugins/MantisGraph/pages/issues_trend_page.php | Diff File |