Red Hat Bugzilla – Bug 1248527
Reading tasks from DB on MySQL 5.5 returns tasks with createdOn field that contains midnight time
Last modified: 2015-11-10 08:53:08 EST
Description of problem:
When using MySQL 5.5 database system, reading tasks with method InternalTaskService.getActiveTasks() returns tasks that have narrowed creation time to midnight (e.g. 2015-07-23 00:00:00). Bug is probably somewhere where tasks are read from DB, because also method InternalTaskService.getActiveTasks(date) doesn't work.
Version-Release number of selected component (if applicable): 6.1.2.CR3
How reproducible: Run JUnit test LifeCycleLocalCommandBasedTest.testCompleteByActiveTasks from community repository jbpm using MySQL 5.5.
Actual results: Mentioned test fails.
Expected results: Mentioned test passes.
fixed test has been back ported to 6.3.x branch
Verified in 6.2.0.ER5.