Defect #31986
openError selecting issues between dates after upgrading redmine 2.3.2 to 4.0.x
0%
Description
Hi,
I'm having problem to upgrade redmine 2.3.2 to 4.0.
After the Redmine update time entry reports do not bring the times entered on the corresponding dates.
Example Task list(dd/mm/yyyy):
Task 22572 executed on 01/07/2019
Task 22566 executed on 01/07/2019
Task 22204 executed on 01/07/2019
Task 22573 executed on 01/07/2019
Task 22584 executed on 02/07/2019
Task 18257 executed on 02/07/2019
Task 22585 executed on 02/07/2019
Task 22584 executed on 03/07/2019
Task 22117 executed on 03/07/2019
Task 22177 executed on 04/07/2019
Task 22584 executed on 04/07/2019
Selecting dates between 01/07/2019 and 03/07/2019
the result I have is(dd/mm/yyyy):
Task 22584 executed on 02/07/2019
Task 18257 executed on 02/07/2019
Task 22585 executed on 02/07/2019
Task 22584 executed on 03/07/2019
Task 22117 executed on 03/07/2019
Task 22177 executed on 04/07/2019
Task 22584 executed on 04/07/2019
As we can see redmine does not list the tasks of day 01 and lists the tasks of day 04 that should not be listed.
I suspected at first that it could be the database version, as it had migrated to MySQL version 8, but the problem persists in version 5.7.
To list the tasks of day 01 I have to specify the date of the day before 31.
Very strange this behavior of redmine.
If I create issues in a new database, Redmine behaves correctly.
Does anyone have any idea how or why this problem occurs?
Files
Updated by Adauto Serpa over 5 years ago
Adauto Serpa wrote:
Hi,
I'm having problem to upgrade redmine 2.3.2 to 4.0.
After the Redmine update time entry reports do not bring the times entered on the corresponding dates.
Example Task list(dd/mm/yyyy):
Task 22572 executed on 01/07/2019
Task 22566 executed on 01/07/2019
Task 22204 executed on 01/07/2019
Task 22573 executed on 01/07/2019
Task 22584 executed on 02/07/2019
Task 18257 executed on 02/07/2019
Task 22585 executed on 02/07/2019
Task 22584 executed on 03/07/2019
Task 22117 executed on 03/07/2019
Task 22177 executed on 04/07/2019
Task 22584 executed on 04/07/2019Selecting dates between 01/07/2019 and 03/07/2019
the result I have is(dd/mm/yyyy):Task 22584 executed on 02/07/2019
Task 18257 executed on 02/07/2019
Task 22585 executed on 02/07/2019
Task 22584 executed on 03/07/2019
Task 22117 executed on 03/07/2019
Task 22177 executed on 04/07/2019
Task 22584 executed on 04/07/2019As we can see redmine does not list the tasks of day 01 and lists the tasks of day 04 that should not be listed.
I suspected at first that it could be the database version, as it had migrated to MySQL version 8, but the problem persists in version 5.7.To list the tasks of day 01 I have to specify the date of the day before 31.
Very strange this behavior of redmine.If I create issues in a new database, Redmine behaves correctly.
Does anyone have any idea how or why this problem occurs?
I tested with a normal Redmine installation and the bug did not occur. This bug is occurring in a docker installation.