spring-cloud/spring-cloud-task

Start time reset when TaskExecution created by TaskRepository

cppwfs opened this issue · 1 comments

If a user creates a TaskExecution using the TaskRepository.createTaskExecution(TaskExecution) the startTime is reset to the current task execution time. This is incorrect. The startTime should remain the value that was set by the createTaskExecution unless the startTime is null.

Backported to 2.4.x